diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2013-04-04 19:09:02 +0100 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2013-04-08 14:19:35 +0100 |
commit | 7cad35342a2750f3356c5fa5b5a3772f01bcea6e (patch) | |
tree | 7575276d8283e58ddcb58524fc3f16fe18dfd13e | |
parent | d30282a54b94dcca4ea0f9ca243babbdd95744bf (diff) |
Fix int-to-pointer-cast warning in ExecAndLogThread
/jhbuild/checkout/xorg/xserver/hw/xwin/winprefs.c: In function ‘ExecAndLogThread’:
/jhbuild/checkout/xorg/xserver/hw/xwin/winprefs.c:406:12: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
return (void *) status;
^
This is a follow up patch to "Log std and stderr for process started from the
notifcation area icon"
-rw-r--r-- | hw/xwin/winprefs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xwin/winprefs.c b/hw/xwin/winprefs.c index a806bab05..73dd1b4a1 100644 --- a/hw/xwin/winprefs.c +++ b/hw/xwin/winprefs.c @@ -403,7 +403,7 @@ ExecAndLogThread(void *cmd) ErrorF("fork() to run command failed\n"); } - return (void *) status; + return (void *) (intptr_t) status; } #endif |