convert length type to compitatible with the old std
This commit is contained in:
parent
fdc1a14cdd
commit
b609e27f25
|
|
@ -132,7 +132,7 @@ XDB_PUBLIC(int) xdb_search(xdb_searcher_t *xdb, unsigned int ip, char *region_bu
|
||||||
}
|
}
|
||||||
|
|
||||||
// buffer length checking
|
// buffer length checking
|
||||||
if (data_len >= length) {
|
if (data_len >= (int) length) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue