tags 643366 +patch
thanks
Index: concalc-0.9.2/src/concalc.cpp
===================================================================
--- concalc-0.9.2.orig/src/concalc.cpp	2011-11-11 11:39:05.593640191 -0500
+++ concalc-0.9.2/src/concalc.cpp	2011-11-11 11:39:15.141640488 -0500
@@ -439,7 +439,7 @@
 				break;
 			case NCHAR:
 			{
-				printf(value.cval);
+				printf("%s", value.cval);
 				break;
 			}
 			default:
@@ -678,7 +678,7 @@
 				initDebugging(subFileContent,scriptData);
 				cleanSubFileContent=preprocessor(subFileContent,pref,true);
 				fprintf(stderr,"\nProcessing file ");
-				fprintf(stderr,scriptData->subprogramPath[c]);
+				fprintf(stderr,"%s", scriptData->subprogramPath[c]);
 				fprintf(stderr,"\n");
 				if(cleanSubFileContent==NULL)
 				{
Index: concalc-0.9.2/src/global.cpp
===================================================================
--- concalc-0.9.2.orig/src/global.cpp	2008-08-11 11:16:49.000000000 -0400
+++ concalc-0.9.2/src/global.cpp	2011-11-11 11:41:02.813643851 -0500
@@ -6553,6 +6553,6 @@
 	}
 	
 	
-	fprintf(stderr,string);
+	fprintf(stderr,"%s",string);
 	fprintf(stderr,"\n");
 }

Reply via email to