Module Name:    xsrc
Committed By:   joerg
Date:           Thu Aug 11 22:26:13 UTC 2011

Modified Files:
        xsrc/external/mit/xcb-util/dist/property: property.c

Log Message:
Fix memset usage


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
    xsrc/external/mit/xcb-util/dist/property/property.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/xcb-util/dist/property/property.c
diff -u xsrc/external/mit/xcb-util/dist/property/property.c:1.1.1.1 xsrc/external/mit/xcb-util/dist/property/property.c:1.2
--- xsrc/external/mit/xcb-util/dist/property/property.c:1.1.1.1	Sat Jul 17 20:28:32 2010
+++ xsrc/external/mit/xcb-util/dist/property/property.c	Thu Aug 11 22:26:13 2011
@@ -95,7 +95,7 @@
 void
 xcb_property_handlers_init(xcb_property_handlers_t *prophs, xcb_event_handlers_t *evenths)
 {
-    memset(prophs, 0, sizeof(prophs));
+    memset(prophs, 0, sizeof(*prophs));
     prophs->evenths = evenths;
     xcb_event_set_property_notify_handler(evenths, handle_property_notify_event, prophs);
 }

Reply via email to