d3dcompiler_43: Avoid signed-unsigned integer comparisons.

This commit is contained in:
Andrew Talbot 2013-01-01 15:48:30 +00:00 committed by Alexandre Julliard
parent 23fde785ee
commit 80e4d899ed
1 changed files with 1 additions and 1 deletions

View File

@ -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) |