File: fix_format_not_string.patch

package info (click to toggle)
aces3 3.0.8-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 775,180 kB
  • sloc: f90: 5,133,741; fortran: 381,059; ansic: 22,951; pascal: 7,515; cpp: 4,349; makefile: 1,715; csh: 292; sh: 144
file content (18 lines) | stat: -rw-r--r-- 599 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: fix format not a string FTBFS
Author: Anton Gladky <gladk@debian.org>
Bug-Debian: http://bugs.debian.org/748769
Last-Update: 2014-05-26

Index: aces3-3.0.8/src/sial_compiler/sial/errorhl.cpp
===================================================================
--- aces3-3.0.8.orig/src/sial_compiler/sial/errorhl.cpp
+++ aces3-3.0.8/src/sial_compiler/sial/errorhl.cpp
@@ -24,7 +24,7 @@ void outerror(int line, const char* outp
 {
     errors++;
     printf("\nline %d, ", line);
-    printf((const char*)outputstring);
+    printf("%s",(const char*)outputstring);
     printf("\n");
 }