mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-20 04:30:06 +01:00
util: change n type to size_t in strneq
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1252>
This commit is contained in:
parent
2b22a0b4ba
commit
cc3f0c783a
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ streq(const char *str1, const char *str2)
|
|||
}
|
||||
|
||||
static inline bool
|
||||
strneq(const char *str1, const char *str2, int n)
|
||||
strneq(const char *str1, const char *str2, size_t n)
|
||||
{
|
||||
/* one NULL, one not NULL is always false */
|
||||
if (str1 && str2)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue