diff options
author | Brian <brian@nostromo.localnet.net> | 2007-01-23 11:46:02 -0700 |
---|---|---|
committer | Brian <brian@nostromo.localnet.net> | 2007-01-23 11:46:02 -0700 |
commit | 18d1fdebebcb52e7fcf50e62c4c02862d173af51 (patch) | |
tree | 4b1ebe71f1c6e8a45278fcab30dacd4d859896a6 /src/mesa/shader/slang | |
parent | d46093b8d56f6d89b341d7437c5185ca6be597af (diff) |
fixes for C++ warnings/errors
Diffstat (limited to 'src/mesa/shader/slang')
-rw-r--r-- | src/mesa/shader/slang/slang_execute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_execute.c b/src/mesa/shader/slang/slang_execute.c index e469de0207..3ffa4b88bf 100644 --- a/src/mesa/shader/slang/slang_execute.c +++ b/src/mesa/shader/slang/slang_execute.c @@ -328,7 +328,7 @@ static GLvoid ensure_infolog_created(slang_info_log ** infolog) { if (*infolog == NULL) { - *infolog = slang_alloc_malloc(sizeof(slang_info_log)); + *infolog = (slang_info_log *) slang_alloc_malloc(sizeof(slang_info_log)); if (*infolog == NULL) return; slang_info_log_construct(*infolog); |