]> git.sur5r.net Git - i3/i3/commit
Cast con id as uintptr_t (#2298) 2293/head
authorTony Crisci <tony@dubstepdish.com>
Fri, 15 Apr 2016 07:27:43 +0000 (03:27 -0400)
committerMichael Stapelberg <stapelberg@users.noreply.github.com>
Fri, 15 Apr 2016 07:27:43 +0000 (00:27 -0700)
commite690e3d483d602867936cfb7423901db42f3a1db
tree2c51b79272cb16c73b83eb0475f89b8844086379
parent80dddd9961263be8ac3b46a15a9cc9302525071d
Cast con id as uintptr_t (#2298)

Use `uintptr_t` to cast the con id to int instead of `long int`. This
type is guaranteed to hold the pointer as an int regardless of platform.

fixes #2283
src/commands.c
src/ipc.c