[master] 32e9634 VMOD blob: explicitly cast negative int8_t constants
Geoff Simmons
geoff at uplex.de
Mon Sep 4 20:17:16 CEST 2017
commit 32e9634cbc851fa73a714000f10ac24b9cb4fd90
Author: Geoff Simmons <geoff at uplex.de>
Date: Mon Sep 4 20:15:55 2017 +0200
VMOD blob: explicitly cast negative int8_t constants
diff --git a/lib/libvmod_blob/base64.h b/lib/libvmod_blob/base64.h
index e5318bd..708b588 100644
--- a/lib/libvmod_blob/base64.h
+++ b/lib/libvmod_blob/base64.h
@@ -28,8 +28,8 @@
#include "vmod_blob.h"
-#define ILL -1
-#define PAD -2
+#define ILL ((int8_t) -1)
+#define PAD ((int8_t) -2)
static const struct b64_alphabet {
const char b64[64];
More information about the varnish-commit
mailing list