Revision: 50656
http://brlcad.svn.sourceforge.net/brlcad/?rev=50656&view=rev
Author: tbrowder2
Date: 2012-05-24 19:22:47 +0000 (Thu, 24 May 2012)
Log Message:
-----------
correct operator for combining flags
Modified Paths:
--------------
brlcad/trunk/src/libbu/vls.c
Modified: brlcad/trunk/src/libbu/vls.c
===================================================================
--- brlcad/trunk/src/libbu/vls.c 2012-05-24 19:00:43 UTC (rev 50655)
+++ brlcad/trunk/src/libbu/vls.c 2012-05-24 19:22:47 UTC (rev 50656)
@@ -676,11 +676,11 @@
#define PRECISION 0x0200
/* groups */
-#define SHORTINTMODS (SHORTINT & SHHRTINT)
-#define LONGINTMODS (LONG_INT & LLONGINT)
-#define ALL_INTMODS (SHORTINTMODS & LONGINTMODS)
+#define SHORTINTMODS (SHORTINT | SHHRTINT)
+#define LONGINTMODS (LONG_INT | LLONGINT)
+#define ALL_INTMODS (SHORTINTMODS | LONGINTMODS)
#define ALL_DOUBLEMODS (LONGDBLE)
-#define ALL_LENGTHMODS (ALL_INTMODS & ALL_DOUBLEMODS)
+#define ALL_LENGTHMODS (ALL_INTMODS | ALL_DOUBLEMODS)
/* variables reset for each fmt specifier */
int flags;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits