From dd26dc48e9500d279343a4d700d20bc2090744c6 Mon Sep 17 00:00:00 2001 From: Garux Date: Sun, 29 Mar 2020 01:59:32 +0100 Subject: [PATCH] bikeshedding: reduce diff noise with Garux tree see: https://github.com/Garux/netradiant-custom/commit/4292115ef741ff066b382c094f8c7814afaccf59#diff-386c03feac6f15ccc15c4dab7bb97320R342 that's not fair --- tools/quake3/q3map2/bspfile_abstract.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/quake3/q3map2/bspfile_abstract.c b/tools/quake3/q3map2/bspfile_abstract.c index 4b60a9ed..675aef6d 100644 --- a/tools/quake3/q3map2/bspfile_abstract.c +++ b/tools/quake3/q3map2/bspfile_abstract.c @@ -344,8 +344,7 @@ void AddLump( FILE *file, bspHeader_t *header, int lumpNum, const void *data, in SafeWrite( file, data, length ); /* write padding zeros */ - char zeros[3] = { 0, 0, 0 }; - SafeWrite( file, zeros, ( ( length + 3 ) & ~3 ) - length ); + SafeWrite( file, (const byte[3]){ 0, 0, 0 }, ( ( length + 3 ) & ~3 ) - length ); } -- 2.39.2