From ffe447630d177c4f262407e4b47482ccb21adc84 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 20 Mar 2015 14:54:47 -0700 Subject: [PATCH] Couple of places should be using STBTT_memset instead of memset --- stb_truetype.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stb_truetype.h b/stb_truetype.h index 56ef47b..fe66eb6 100644 --- a/stb_truetype.h +++ b/stb_truetype.h @@ -2189,7 +2189,7 @@ static void stbtt__h_prefilter(unsigned char *pixels, int w, int h, int stride_i for (j=0; j < h; ++j) { int i; unsigned int total; - memset(buffer, 0, kernel_width); + STBTT_memset(buffer, 0, kernel_width); total = 0; @@ -2243,7 +2243,7 @@ static void stbtt__v_prefilter(unsigned char *pixels, int w, int h, int stride_i for (j=0; j < w; ++j) { int i; unsigned int total; - memset(buffer, 0, kernel_width); + STBTT_memset(buffer, 0, kernel_width); total = 0;