From c51d60249e3a5e36517ffd7e955fca165148cdbd Mon Sep 17 00:00:00 2001 From: Bram Stein Date: Sun, 9 Nov 2014 10:25:16 +0100 Subject: Initialise dest to NULL instead of 0 for consistency. --- woff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'woff.c') diff --git a/woff.c b/woff.c index 4eb0c73..d801a5f 100644 --- a/woff.c +++ b/woff.c @@ -258,7 +258,7 @@ woffEncode(const uint8_t * sfntData, uint32_t sfntLen, for (order = 0; order < numTables; ++order) { uLong sourceLen, destLen = 0; - uint8_t* dest = 0; + uint8_t* dest = NULL; uint32_t sourceOffset; uint16_t oldIndex = tableOrder[order].oldIndex; -- cgit v1.2.3