mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-14 10:21:49 +00:00
btstack_util: fix warning in btstack_snprintf_assert_complete
This commit is contained in:
parent
41c4432190
commit
c46e8f558e
@ -674,7 +674,7 @@ uint16_t btstack_snprintf_assert_complete(char * buffer, size_t size, const char
|
||||
|
||||
// check for no error and no truncation
|
||||
btstack_assert(len >= 0);
|
||||
btstack_assert(len < size);
|
||||
btstack_assert((unsigned int) len < size);
|
||||
return (uint16_t) len;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user