Author: wyoung
Date: Mon Mar  2 16:56:12 2009
New Revision: 2466

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2466&view=rev
Log:
VC++ warning squisher

Modified:
    trunk/examples/cpool.cpp

Modified: trunk/examples/cpool.cpp
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/examples/cpool.cpp?rev=2466&r1=2465&r2=2466&view=diff
==============================================================================
--- trunk/examples/cpool.cpp (original)
+++ trunk/examples/cpool.cpp Mon Mar  2 16:56:12 2009
@@ -216,7 +216,7 @@
        // Setup complete.  Now let's spin some threads...
        cout << endl << "Pool created and working correctly.  Now to do "
                        "some real work..." << endl;
-       srand(time(0));
+       srand((unsigned int)time(0));
        bool running[] = {
                        true, true, true, true, true, true, true,
                        true, true, true, true, true, true, true };


_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits

Reply via email to