CVSROOT: /sources/gnash
Module name: gnash
Changes by: Rob Savoye <rsavoye> 07/12/26 01:31:10
Modified files:
cygnal : crc.cpp
Log message:
Use uint32_t for extractNumber().
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/crc.cpp?cvsroot=gnash&r1=1.1&r2=1.2
Patches:
Index: crc.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/crc.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- crc.cpp 13 Dec 2007 16:15:28 -0000 1.1
+++ crc.cpp 26 Dec 2007 01:31:10 -0000 1.2
@@ -33,6 +33,7 @@
#include <sys/types.h>
#include <unistd.h> // for getuid()
#include <sys/stat.h>
+#include <boost/cstdint.hpp>
#include <cctype> // for toupper
#include <string>
@@ -174,11 +175,11 @@
useParserDump(test);
useActionDump(test);
- int num;
+ uint32_t num;
extractNumber(&num, "verbosity", variable, value);
verbosityLevel(num);
- extractNumber(&_port_offset, "portOffset", variable, value);
+ extractNumber((uint32_t *)&_port_offset, "portOffset", variable,
value);
} while (!in.eof());
} else {
_______________________________________________
Gnash-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-commit