diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2009-10-23 11:36:06 +0200 |
---|---|---|
committer | Patrick Ohly <patrick.ohly@intel.com> | 2009-12-09 17:41:43 +0100 |
commit | 7e67e6a4b3f0c99eeb7b704a204290e8c40b340f (patch) | |
tree | f44b7c6cfce30e02d9f7d04405e98c0137ca7de0 /src | |
parent | a2b4186cd003691e40da487f66469560ec57024b (diff) |
TStdLogicDS::startDataAccessForServer(): fioxed signed/unsigned comparison
gcc -Wall complains about this. The unsigned int is casted to long for the comparison.
Diffstat (limited to 'src')
-rw-r--r-- | src/sysync/stdlogicds.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysync/stdlogicds.cpp b/src/sysync/stdlogicds.cpp index 534cd63..ba09e49 100644 --- a/src/sysync/stdlogicds.cpp +++ b/src/sysync/stdlogicds.cpp @@ -579,7 +579,7 @@ localstatus TStdLogicDS::startDataAccessForServer(void) if (sta==LOCERR_OK) { // quick test: if number of items is > than allowed maxid of remote datatstore, // sync is unlikely to succeed - if (getRemoteDatastore()->getMaxID()<fItems.size()) { + if (getRemoteDatastore()->getMaxID()<(long)fItems.size()) { // this will not work, warn (but no longer abort session, as Siemens S55 guys don't like that) CONSOLEPRINTF(( "Warning: Synchronisation involves more items (%ld) than client can possibly manage (%ld", |