i915g: Fix warnings
This commit is contained in:
committed by
Jakob Bornecrantz
parent
f22c427bd6
commit
96c9b39a6a
@@ -880,7 +880,7 @@ i915_dump_batchbuffer( struct intel_batchbuffer *batch )
|
||||
return;
|
||||
}
|
||||
|
||||
debug_printf( "\n\nBATCH: (%d)\n", bytes / 4);
|
||||
debug_printf( "\n\nBATCH: (%d)\n", (int)bytes / 4);
|
||||
|
||||
while (!done &&
|
||||
stream.offset < bytes)
|
||||
|
||||
@@ -127,7 +127,7 @@ i915_program_error(struct i915_fp_compile *p, const char *msg, ...)
|
||||
va_start( args, msg );
|
||||
util_vsnprintf( buffer, sizeof(buffer), msg, args );
|
||||
va_end( args );
|
||||
debug_printf(buffer);
|
||||
debug_printf("%s", buffer);
|
||||
debug_printf("\n");
|
||||
|
||||
p->error = 1;
|
||||
|
||||
Reference in New Issue
Block a user