浏览代码

stb_image: fix VC6

Sean Barrett 1 年之前
父节点
当前提交
b7cf124628
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      stb_image_resize2.h

+ 1 - 1
stb_image_resize2.h

@@ -3571,9 +3571,9 @@ static int stbir__pack_coefficients( int num_contributors, stbir__contributors*
   #else
   #define STBIR_MOVE_4( dest, src ) { STBIR_NO_UNROLL(dest); ((stbir_uint64*)(dest))[0] = ((stbir_uint64*)(src))[0]; ((stbir_uint64*)(dest))[1] = ((stbir_uint64*)(src))[1]; }
   #endif
-  STBIR__UNUSED( row0 ); // only used in an assert
 
   int row_end = row1 + 1;
+  STBIR__UNUSED( row0 ); // only used in an assert
 
   if ( coefficient_width != widest )
   {