mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-15 23:20:06 +02:00
cmake and gcc warning fixes
This commit is contained in:
@@ -349,7 +349,7 @@ bool intToStr(T value,
|
||||
|
||||
size = ptr - result;
|
||||
poco_assert_dbg (size <= ptr.span());
|
||||
poco_assert_dbg ((-1 == width) || (size >= width));
|
||||
poco_assert_dbg ((-1 == width) || (size >= size_t(width)));
|
||||
*ptr-- = '\0';
|
||||
|
||||
char* ptrr = result;
|
||||
@@ -424,7 +424,7 @@ bool uIntToStr(T value,
|
||||
|
||||
size = ptr - result;
|
||||
poco_assert_dbg (size <= ptr.span());
|
||||
poco_assert_dbg ((-1 == width) || (size >= width));
|
||||
poco_assert_dbg ((-1 == width) || (size >= size_t(width)));
|
||||
*ptr-- = '\0';
|
||||
|
||||
char* ptrr = result;
|
||||
|
Reference in New Issue
Block a user