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