summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2009-12-10 17:55:13 +0100
committerPatrick Ohly <patrick.ohly@intel.com>2009-12-10 17:57:16 +0100
commitd15a113608aa892c4b8c39bfdc50797c7f673b6c (patch)
treef024050e795f8180ef063e5c3c8059f167476bdb /src
parent71aef21545e844e2c56e523d574e7d2de41f3caa (diff)
VE_InsertMapItem: signed/unsigned comparison warning from g++ 4.4
Solved by casting VE_InsertMapItem to sInt32, as done another part of the code.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/DB_interfaces/api_db/pluginapids.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DB_interfaces/api_db/pluginapids.cpp b/src/DB_interfaces/api_db/pluginapids.cpp
index 4e59f67..bc4a230 100755
--- a/src/DB_interfaces/api_db/pluginapids.cpp
+++ b/src/DB_interfaces/api_db/pluginapids.cpp
@@ -2236,7 +2236,7 @@ localstatus TPluginApiDS::apiLoadAdminData(
mapEntry.remoteid=mapid.remoteID.c_str();
mapEntry.mapflags=mapid.flags;
// check for old API which did not support entry types
- if (fPluginDSConfigP->fDBApiConfig_Admin.Version()<VE_InsertMapItem) {
+ if (fPluginDSConfigP->fDBApiConfig_Admin.Version()<sInt32(VE_InsertMapItem)) {
mapEntry.entrytype = mapentry_normal; // DB has no entry types, treat all as normal entries
}
else {