Updated two calls to sprintf that I missed in r269.

git-svn-id: http://jsoncpp.svn.sourceforge.net/svnroot/jsoncpp/trunk/jsoncpp@273 1f120ed1-78a5-a849-adca-83f0a9e25bb6
diff --git a/src/jsontestrunner/main.cpp b/src/jsontestrunner/main.cpp
index 74f0216..4805af7 100644
--- a/src/jsontestrunner/main.cpp
+++ b/src/jsontestrunner/main.cpp
@@ -19,7 +19,7 @@
 normalizeFloatingPointStr( double value )
 {
     char buffer[32];
-    sprintf( buffer, "%.16g", value );
+    snprintf( buffer, sizeof(buffer), "%.16g", value );
     buffer[sizeof(buffer)-1] = 0;
     std::string s( buffer );
     std::string::size_type index = s.find_last_of( "eE" );
@@ -89,7 +89,7 @@
          for ( int index =0; index < size; ++index )
          {
             static char buffer[16];
-            sprintf( buffer, "[%d]", index );
+            snprintf( buffer, sizeof(buffer), "[%d]", index );
             printValueTree( fout, value[index], path + buffer );
          }
       }
@@ -290,4 +290,3 @@
 
    return exitCode;
 }
-