]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib: Fix SENTRY_CHAR to different kind of number
authorAki Tuomi <aki.tuomi@dovecot.fi>
Tue, 16 Aug 2016 10:49:01 +0000 (13:49 +0300)
committerGitLab <gitlab@git.dovecot.net>
Tue, 16 Aug 2016 19:12:11 +0000 (22:12 +0300)
Makes static analysers happier

src/lib/test-mempool-alloconly.c

index a4ff0912638f545af77d42c8bb9ebaf3a255f0b1..5658e202b5257ac477bed021a215839f03b6935b 100644 (file)
@@ -17,7 +17,7 @@ static bool mem_has_bytes(const void *mem, size_t size, uint8_t b)
 void test_mempool_alloconly(void)
 {
 #define SENTRY_SIZE 32
-#define SENTRY_CHAR '\xDE'
+#define SENTRY_CHAR 0xDE
 #define PMALLOC_MAX_COUNT 128
        pool_t pool;
        unsigned int i, j, k;