# HG changeset patch # User Edho Prima Arief # Date 1277711539 -25200 # Node ID 758381a85d76128018a7fd1eebaf20f763caf164 # Parent ebed2bd0d300ba87d6d1789194f656051304658f Incorrect printf format. diff -r ebed2bd0d300 -r 758381a85d76 defical-c/src/main.cpp --- 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;