2
0
Chris Forseth 7 жил өмнө
parent
commit
de75509b1c
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      stb_image.h

+ 1 - 1
stb_image.h

@@ -6487,7 +6487,7 @@ static void *stbi__load_gif_main(stbi__context *s, int **delays, int *x, int *y,
                (*delays)[layers - 1U] = g.delay; 
             }
          }
-      } while (u != nullptr); 
+      } while (u != 0); 
 
       // free temp buffer; 
       STBI_FREE(g.out);