mojoshader_assembler.c
changeset 956 7888858a6777
parent 948 6423e569624c
child 994 561ee5138f4e
--- a/mojoshader_assembler.c	Wed Nov 17 15:58:40 2010 -0500
+++ b/mojoshader_assembler.c	Thu Nov 18 22:42:58 2010 -0500
@@ -1650,7 +1650,7 @@
 
     // get the final bytecode!
     const unsigned int output_len = (unsigned int) buffer_size(ctx->output);
-    unsigned char *bytecode = buffer_flatten(ctx->output);
+    unsigned char *bytecode = (unsigned char *) buffer_flatten(ctx->output);
     buffer_destroy(ctx->output);
     ctx->output = NULL;