i915g: Fix warnings

This commit is contained in:
Jakob Bornecrantz
2009-10-13 15:32:04 +01:00
committed by Jakob Bornecrantz
parent f22c427bd6
commit 96c9b39a6a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;