xrandr: Changes to 'master'
Egbert Eich
eich at kemper.freedesktop.org
Mon Aug 4 04:55:03 PDT 2008
xrandr.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 3046799a06ecb79211ef0f4a2db9de4eec7233fb
Author: Egbert Eich <eich at freedesktop.org>
Date: Sun Aug 3 13:24:49 2008 +0200
Fix for 64bit: feed a pointer to the right size variable to scanf().
XID is unsigned long, however %x in scanf takes a pointer to an unsigned int.
Thus with XID xid, a sscanf(..., "0x%x", &xid) will most likely produce the
wrong results.
More information about the xorg-commit
mailing list