Imported from libpng-0.89c.tar
diff --git a/pngmem.c b/pngmem.c
index d3fc991..60645f0 100644
--- a/pngmem.c
+++ b/pngmem.c
@@ -221,7 +221,7 @@
    if ((struct_ptr = (png_voidp)farmalloc(size)) != NULL)
 #else
 # if defined(_MSC_VER) && defined(MAXSEG_64K)
-   if ((struct_ptr = (png_voidp)halloc(size)) != NULL)
+   if ((struct_ptr = (png_voidp)halloc(size,1)) != NULL)
 # else
    if ((struct_ptr = (png_voidp)malloc(size)) != NULL)
 # endif