diff options
author | David Robillard <d@drobilla.net> | 2022-04-22 15:49:13 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-04-23 21:18:33 -0400 |
commit | c80ee9c1fccdf86b4c7c9d5a3b34ec024432e1a3 (patch) | |
tree | 7e32a603bcaf93540022ae669d7894851d263df5 /src/implementation.c | |
parent | 1f33fca3bcf2f7f329f9ba46b2c19f785e00ec98 (diff) | |
download | pugl-c80ee9c1fccdf86b4c7c9d5a3b34ec024432e1a3.tar.gz pugl-c80ee9c1fccdf86b4c7c9d5a3b34ec024432e1a3.tar.bz2 pugl-c80ee9c1fccdf86b4c7c9d5a3b34ec024432e1a3.zip |
Strengthen MSVC warnings
Diffstat (limited to 'src/implementation.c')
-rw-r--r-- | src/implementation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/implementation.c b/src/implementation.c index afc16ab..e7835f6 100644 --- a/src/implementation.c +++ b/src/implementation.c @@ -375,7 +375,7 @@ puglDecodeUTF8(const uint8_t* buf) static inline bool puglMustConfigure(PuglView* view, const PuglConfigureEvent* configure) { - return memcmp(configure, &view->lastConfigure, sizeof(PuglConfigureEvent)); + return !!memcmp(configure, &view->lastConfigure, sizeof(PuglConfigureEvent)); } PuglStatus |