]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/bspfile_abstract.c
bikeshedding: reduce diff noise with Garux tree
[xonotic/netradiant.git] / tools / quake3 / q3map2 / bspfile_abstract.c
index 4b60a9ed6c270f4df35e2905cf62f17aeec6bbfa..675aef6d3abd6d971333d720b2aa42a2649c9f64 100644 (file)
@@ -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 );
 }