[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog libbase/rc.cpp libbase/rc.h
From: |
Markus Gothe |
Subject: |
[Gnash-commit] gnash ChangeLog libbase/rc.cpp libbase/rc.h |
Date: |
Mon, 24 Mar 2008 21:46:47 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Markus Gothe <nihilus> 08/03/24 21:46:47
Modified files:
. : ChangeLog
libbase : rc.cpp rc.h
Log message:
Fixed comparsion.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.6019&r2=1.6020
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/rc.cpp?cvsroot=gnash&r1=1.65&r2=1.66
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/rc.h?cvsroot=gnash&r1=1.49&r2=1.50
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.6019
retrieving revision 1.6020
diff -u -b -r1.6019 -r1.6020
--- ChangeLog 24 Mar 2008 21:31:15 -0000 1.6019
+++ ChangeLog 24 Mar 2008 21:46:46 -0000 1.6020
@@ -1,6 +1,8 @@
2008-03-24 Markus Gothe <address@hidden>
* server/as_envoronment.cpp: Fixed signedness of int.
+ * libbase/rc.cpp: Fixed comparsion.
+ * libbase/rc.h: Replaced tu_config.h.
2008-03-23 Markus Gothe <address@hidden>
Index: libbase/rc.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/rc.cpp,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -b -r1.65 -r1.66
--- libbase/rc.cpp 10 Mar 2008 08:19:40 -0000 1.65
+++ libbase/rc.cpp 24 Mar 2008 21:46:47 -0000 1.66
@@ -185,7 +185,7 @@
// cout << variable << ": " << value << endl;
if ( noCaseCompare(variable, pattern) ) {
num = strtoul(value.c_str(), NULL, 0);
- if (num == std::numeric_limits<long>::max()) {
+ if (static_cast<long>(num) == std::numeric_limits<long>::max()) {
long long foo = strtoll(value.c_str(), NULL, 0);
cerr << "RcInitFile::extractNumber: conversion overflow!: " << foo
<< endl;
}
Index: libbase/rc.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/rc.h,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -b -r1.49 -r1.50
--- libbase/rc.h 22 Mar 2008 02:33:38 -0000 1.49
+++ libbase/rc.h 24 Mar 2008 21:46:47 -0000 1.50
@@ -23,7 +23,7 @@
# include "gnashconfig.h"
#endif
-#include "tu_config.h"
+#include "dsodefs.h"
#include <string>
#include <vector>