changeset 1:758381a85d76 default tip

Incorrect printf format.
author Edho Prima Arief <me@myconan.net>
date Mon, 28 Jun 2010 14:52:19 +0700
parents ebed2bd0d300
children
files defical-c/src/main.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/defical-c/src/main.cpp	Fri Apr 02 23:11:57 2010 +0700
+++ b/defical-c/src/main.cpp	Mon Jun 28 14:52:19 2010 +0700
@@ -56,7 +56,7 @@
 		printf("Invalid algorithm specified.\n");
 		return 1;
 	}
-	printf(separator);
+	printf("%s", separator);
 	printf("\nNumber of vertices: %d\n",numVer);
 	printf("Number of deficiencies: %d\n",numDef);
 	cout << "Graph type: " << graphTypeS << endl;