Cleaned up some warnings found when compiling with Visual Studio Express 2010.
This commit is contained in:
@@ -1389,7 +1389,7 @@ bool bacapp_print_value(
|
||||
/* Try to extract the value into allocated memory. If unable, try again */
|
||||
/* another time with a string that is twice as large. */
|
||||
status = bacapp_snprintf_value(str, str_len, object_value);
|
||||
if ((status < 0) || (status >= str_len)) {
|
||||
if ((status < 0) || ((size_t)status >= str_len)) {
|
||||
free(str);
|
||||
str_len *= 2;
|
||||
} else if (status == 0) {
|
||||
|
||||
Reference in New Issue
Block a user