소스 검색

Remove a nullptr

Chris Forseth 7 년 전
부모
커밋
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);