Andrew Talbot : d3dcompiler_43: Avoid signed-unsigned integer comparisons.
Alexandre Julliard
julliard at winehq.org
Wed Jan 2 14:18:39 CST 2013
Module: wine
Branch: master
Commit: 80e4d899edd168f873a23a0e55e23ce0ac562d72
URL: http://source.winehq.org/git/wine.git/?a=commit;h=80e4d899edd168f873a23a0e55e23ce0ac562d72
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Tue Jan 1 15:48:30 2013 +0000
d3dcompiler_43: Avoid signed-unsigned integer comparisons.
---
dlls/d3dcompiler_43/bytecodewriter.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/d3dcompiler_43/bytecodewriter.c b/dlls/d3dcompiler_43/bytecodewriter.c
index d10f6bc..17289d2 100644
--- a/dlls/d3dcompiler_43/bytecodewriter.c
+++ b/dlls/d3dcompiler_43/bytecodewriter.c
@@ -609,7 +609,7 @@ static void write_declarations(struct bc_writer *This,
}
static void write_const(struct constant **consts, int num, DWORD opcode, DWORD reg_type, struct bytecode_buffer *buffer, BOOL len) {
- DWORD i;
+ int i;
DWORD instr_def = opcode;
const DWORD reg = (1<<31) |
((reg_type << D3DSP_REGTYPE_SHIFT) & D3DSP_REGTYPE_MASK) |
More information about the wine-cvs
mailing list