Package: torcs / 1.3.3+dfsg-0.1

0001-add-format-argument.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Rudy Godoy <rudy@stone-head.org>
Date: Mon, 16 Apr 2012 20:26:21 -0500
Subject: add-format-argument

---
 src/tools/texmapper/maintexmapper.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tools/texmapper/maintexmapper.cpp b/src/tools/texmapper/maintexmapper.cpp
index c501792..fbfff34 100644
--- a/src/tools/texmapper/maintexmapper.cpp
+++ b/src/tools/texmapper/maintexmapper.cpp
@@ -103,7 +103,7 @@ void print_mat4(char *title, sgMat4 m)
 {
     int		i, j;
 
-    printf(title);
+    printf("%s", title);
     for (j = 0; j < 4; j ++){
 	for (i = 0; i < 4; i ++) {
 	    printf("%.6f  ", m[i][j]);