diff options
author | Michal Krol <[email protected]> | 2008-07-15 11:44:47 +0200 |
---|---|---|
committer | Michal Krol <[email protected]> | 2008-07-15 11:49:02 +0200 |
commit | f9c574d7192d2193ff3e12629a8db1a74b6dbf55 (patch) | |
tree | cb128f689d953fc8b8fa21cd990ef478dfe757a6 /src/mesa/shader/slang/slang_codegen.c | |
parent | 6c534b830c6f5427c391c5225c34561141c201ba (diff) |
mesa: Silence compiler warnings on Windows.
Diffstat (limited to 'src/mesa/shader/slang/slang_codegen.c')
-rw-r--r-- | src/mesa/shader/slang/slang_codegen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_codegen.c b/src/mesa/shader/slang/slang_codegen.c index af45dfb2e88..425beefe857 100644 --- a/src/mesa/shader/slang/slang_codegen.c +++ b/src/mesa/shader/slang/slang_codegen.c @@ -2623,7 +2623,7 @@ _slang_gen_subscript(slang_assemble_ctx * A, slang_operation *oper) index = (GLint) oper->children[1].literal[0]; if (oper->children[1].type != SLANG_OPER_LITERAL_INT || - index >= max) { + index >= (GLint) max) { slang_info_log_error(A->log, "Invalid array index for vector type"); return NULL; } |