commit c9ee9e62f63bb875d2e49c455cbba97fc471b814
parent c291b2ec819db0e168bbd1f667e313e3588c49be
Author: rsc <devnull@localhost>
Date: Thu, 20 Apr 2006 21:52:17 +0000
inttypes
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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