summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/slang_preprocess.c
diff options
context:
space:
mode:
authorJouk Jansen <[email protected]>2005-04-18 13:05:24 +0000
committerJouk Jansen <[email protected]>2005-04-18 13:05:24 +0000
commit49b1d95c1cae4547199eeb7f7a045edb16611474 (patch)
treeb2d3972aa8f1d291191fb8d894637c4582320965 /src/mesa/shader/slang/slang_preprocess.c
parente9a3d8a7726823efae8ed27f7f669e96a445950a (diff)
Updates for OpenVMS : New makefiles
added some type-casts Modified Files: Mesa/src/mesa/shader/descrip.mms Mesa/src/mesa/shader/program.c Mesa/src/mesa/shader/slang/slang_compile.c Mesa/src/mesa/shader/slang/slang_preprocess.c Added Files: Mesa/src/mesa/shader/slang/descrip.mms ----------------------------------------------------------------------
Diffstat (limited to 'src/mesa/shader/slang/slang_preprocess.c')
-rw-r--r--src/mesa/shader/slang/slang_preprocess.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/shader/slang/slang_preprocess.c b/src/mesa/shader/slang/slang_preprocess.c
index b9c7a9efceb..7159db7e1e2 100644
--- a/src/mesa/shader/slang/slang_preprocess.c
+++ b/src/mesa/shader/slang/slang_preprocess.c
@@ -49,7 +49,7 @@ int _slang_preprocess_version (const char *text, unsigned int *version, unsigned
{
char buf[1024];
unsigned int pos;
- grammar_get_last_error (buf, 1024, &pos);
+ grammar_get_last_error ( (unsigned char*) buf, 1024, (int*) &pos);
slang_info_log_error (log, buf);
return 0;
}
@@ -58,7 +58,7 @@ int _slang_preprocess_version (const char *text, unsigned int *version, unsigned
{
char buf[1024];
unsigned int pos;
- grammar_get_last_error (buf, 1024, &pos);
+ grammar_get_last_error ( (unsigned char*) buf, 1024, (int*) &pos);
slang_info_log_error (log, buf);
grammar_destroy (id);
return 0;