Module Name: xsrc
Committed By: joerg
Date: Thu Aug 11 22:10:53 UTC 2011
Modified Files:
xsrc/external/mit/libXTrap/dist/src: XEConTxt.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/libXTrap/dist/src/XEConTxt.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/libXTrap/dist/src/XEConTxt.c
diff -u xsrc/external/mit/libXTrap/dist/src/XEConTxt.c:1.1.1.1 xsrc/external/mit/libXTrap/dist/src/XEConTxt.c:1.2
--- xsrc/external/mit/libXTrap/dist/src/XEConTxt.c:1.1.1.1 Wed Jul 30 02:44:23 2008
+++ xsrc/external/mit/libXTrap/dist/src/XEConTxt.c Thu Aug 11 22:10:52 2011
@@ -71,7 +71,7 @@
{
firsttime = False;
/* The first Trap Context is the Template (default) TC */
- (void)memset(tc,0L,sizeof(tc));
+ (void)memset(tc,0L,sizeof(*tc));
tc->eventBase = 0x7FFFFFFFL;
tc->errorBase = 0x7FFFFFFFL;
tc->values.v.max_pkt_size = 0x7FFFL;