Committer : entrope
CVSROOT : /cvsroot/undernet-ircu
Module : ircu2.10
Commit time: 2004-10-26 23:42:34 UTC
Modified files:
include/client.h
Log message:
Fix minor error in FLAGSET_MASK definition (pointed out by froo).
---------------------- diff included ----------------------
Index: ircu2.10/include/client.h
diff -u ircu2.10/include/client.h:1.38 ircu2.10/include/client.h:1.39
--- ircu2.10/include/client.h:1.38 Wed Oct 13 05:29:32 2004
+++ ircu2.10/include/client.h Tue Oct 26 16:42:23 2004
@@ -19,7 +19,7 @@
*/
/** @file
* @brief Structures and functions for handling local clients.
- * @version $Id: client.h,v 1.38 2004/10/13 12:29:32 entrope Exp $
+ * @version $Id: client.h,v 1.39 2004/10/26 23:42:23 entrope Exp $
*/
#ifndef INCLUDED_client_h
#define INCLUDED_client_h
@@ -73,7 +73,7 @@
/** Element number for flag \a flag. */
#define FLAGSET_INDEX(flag) ((flag) / FLAGSET_NBITS)
/** Element bit for flag \a flag. */
-#define FLAGSET_MASK(flag) (1<<((flag) % FLAGSET_NBITS))
+#define FLAGSET_MASK(flag) (1ul<<((flag) % FLAGSET_NBITS))
/** Declare a flagset structure of a particular size. */
#define DECLARE_FLAGSET(name,max) \
----------------------- End of diff -----------------------