summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixEvent.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2007-01-12 09:08:36 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2007-01-12 09:08:36 (GMT)
commit013750d43b06442c312060f6460e31c546f95674 (patch)
treebf715acf4f3bdec103ff3e909993230f127ce6d9 /unix/tkUnixEvent.c
parentc48f4f5bf3717299252cba2e4faa31f395ce1689 (diff)
downloadtk-013750d43b06442c312060f6460e31c546f95674.zip
tk-013750d43b06442c312060f6460e31c546f95674.tar.gz
tk-013750d43b06442c312060f6460e31c546f95674.tar.bz2
Quell type-punning warnings from gcc/unix build
Diffstat (limited to 'unix/tkUnixEvent.c')
-rw-r--r--unix/tkUnixEvent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tkUnixEvent.c b/unix/tkUnixEvent.c
index 8fb410a..46caeb3 100644
--- a/unix/tkUnixEvent.c
+++ b/unix/tkUnixEvent.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixEvent.c,v 1.22 2007/01/11 18:53:16 hobbs Exp $
+ * RCS: @(#) $Id: tkUnixEvent.c,v 1.23 2007/01/12 09:08:36 dkf Exp $
*/
#include "tkInt.h"
@@ -537,7 +537,7 @@ TkUnixDoOneXEvent(
}
}
- numFound = select(numFdBits, (SELECT_MASK *) &readMask[0], NULL, NULL,
+ numFound = select(numFdBits, (SELECT_MASK *) readMask, NULL, NULL,
timeoutPtr);
if (numFound <= 0) {
/*