summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/i915simple/i915_strings.c
diff options
context:
space:
mode:
authorMichal <[email protected]>2007-11-18 13:20:57 +0000
committerJosé Fonseca <[email protected]>2007-11-22 11:43:04 +0000
commit0e31e24659a1e691bdfa213fcd073bbfaa4ed6e9 (patch)
tree651c6dce46e5fed4afd5d75d68d1503676e4ae74 /src/mesa/pipe/i915simple/i915_strings.c
parent5961732c1b59403b4e736fa354a64d4a0e5d8af2 (diff)
Fix compatibility issues between gcc and msvc.
Diffstat (limited to 'src/mesa/pipe/i915simple/i915_strings.c')
-rw-r--r--src/mesa/pipe/i915simple/i915_strings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/i915simple/i915_strings.c b/src/mesa/pipe/i915simple/i915_strings.c
index a9b0bfc7c27..c713bf72086 100644
--- a/src/mesa/pipe/i915simple/i915_strings.c
+++ b/src/mesa/pipe/i915simple/i915_strings.c
@@ -70,7 +70,7 @@ static const char *i915_get_name( struct pipe_context *pipe )
break;
}
- snprintf(buffer, sizeof(buffer), "pipe/i915 (chipset: %s)", chipset);
+ sprintf(buffer, "pipe/i915 (chipset: %s)", chipset);
return buffer;
}