inttypes
This commit is contained in:
parent
c291b2ec81
commit
c9ee9e62f6
@ -5,6 +5,7 @@
|
|||||||
/* Copyright (c) 1994-1996 David Hogan, see README for licence details */
|
/* Copyright (c) 1994-1996 David Hogan, see README for licence details */
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <inttypes.h>
|
||||||
#include <X11/X.h>
|
#include <X11/X.h>
|
||||||
#include <X11/Xos.h>
|
#include <X11/Xos.h>
|
||||||
#include <X11/Xlib.h>
|
#include <X11/Xlib.h>
|
||||||
@ -471,7 +472,7 @@ get1prop(Window w, Atom a, Atom type)
|
|||||||
return 0;
|
return 0;
|
||||||
x = *p;
|
x = *p;
|
||||||
XFree((void*) p);
|
XFree((void*) p);
|
||||||
return (int)(uintptr)x;
|
return (int)(uintptr_t)x;
|
||||||
}
|
}
|
||||||
|
|
||||||
Window
|
Window
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user