diff options
author | rsc <devnull@localhost> | 2006-04-20 21:52:17 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-04-20 21:52:17 +0000 |
commit | c9ee9e62f63bb875d2e49c455cbba97fc471b814 (patch) | |
tree | b100bbdeba31c92196198242f85e576fbddfd6af /src/cmd/rio | |
parent | c291b2ec819db0e168bbd1f667e313e3588c49be (diff) | |
download | plan9port-c9ee9e62f63bb875d2e49c455cbba97fc471b814.tar.gz plan9port-c9ee9e62f63bb875d2e49c455cbba97fc471b814.tar.bz2 plan9port-c9ee9e62f63bb875d2e49c455cbba97fc471b814.zip |
inttypes
Diffstat (limited to 'src/cmd/rio')
-rw-r--r-- | src/cmd/rio/manage.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/rio/manage.c b/src/cmd/rio/manage.c index 264bb8d5..6900b47c 100644 --- a/src/cmd/rio/manage.c +++ b/src/cmd/rio/manage.c @@ -5,6 +5,7 @@ /* Copyright (c) 1994-1996 David Hogan, see README for licence details */ #include <stdio.h> #include <stdlib.h> +#include <inttypes.h> #include <X11/X.h> #include <X11/Xos.h> #include <X11/Xlib.h> @@ -471,7 +472,7 @@ get1prop(Window w, Atom a, Atom type) return 0; x = *p; XFree((void*) p); - return (int)(uintptr)x; + return (int)(uintptr_t)x; } Window |