Author: wyoung
Date: Sat Dec  8 01:02:30 2007
New Revision: 1988

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1988&view=rev
Log:
Explicit signedness in sql_cmp().  Probably superfluous for most int
types, but may be helpful for char on some platforms.

Modified:
    trunk/lib/custom.pl

Modified: trunk/lib/custom.pl
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/custom.pl?rev=1988&r1=1987&r2=1988&view=diff
==============================================================================
--- trunk/lib/custom.pl (original)
+++ trunk/lib/custom.pl Sat Dec  8 01:02:30 2007
@@ -97,11 +97,11 @@
 }
 
 @types = (
-               "char", "unsigned char",
+               "signed char", "unsigned char",
                "sql_tinyint", "sql_tinyint_unsigned",
-               "int", "unsigned",
-               "short", "unsigned short",
-               "long", "unsigned long");
+               "signed int", "unsigned",
+               "signed short", "unsigned short",
+               "signed long", "unsigned long");
 foreach my $type (@types) {
     print OUT0 << "---";
 


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

Reply via email to