diff --git a/src/Texture Font Generator/Texture Font Generator-net2008.vcproj b/src/Texture Font Generator/Texture Font Generator-net2008.vcproj
index 2c3e2f450e..dee8b0dace 100644
--- a/src/Texture Font Generator/Texture Font Generator-net2008.vcproj
+++ b/src/Texture Font Generator/Texture Font Generator-net2008.vcproj
@@ -46,6 +46,7 @@
jmpbuf) )
{
- png_destroy_read_struct( &pPng, &pInfo, png_infopp_NULL );
+ png_destroy_read_struct( &pPng, &pInfo, NULL );
return false;
}