testparse.c
branchtrunk
changeset 9 aea1b254e6a5
parent 7 18bf77bb8c07
child 14 7075b6e31471
--- a/testparse.c	Sun Feb 10 18:34:26 2008 -0500
+++ b/testparse.c	Mon Feb 11 22:37:34 2008 -0500
@@ -1,4 +1,5 @@
 #include <stdio.h>
+#include <stdlib.h>
 #include "d3d2glsl.h"
 
 int main(int argc, char **argv)
@@ -8,7 +9,7 @@
         FILE *io = fopen(argv[1], "rb");
         if (io != NULL)
         {
-            uint8 *buf = (uint8 *) malloc(1000000);
+            unsigned char *buf = (unsigned char *) malloc(1000000);
             int rc = fread(buf, 1, 1000000, io);
             fclose(io);
             D3D2GLSL_parse(buf, rc);