Ver Fonte

Make last parameter explicitly `long long`, only identified after adding NS_FORMAT_FUNCTION qualifier to method declaration

robertmryan há 12 anos atrás
pai
commit
64d38ac816
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/fmdb.m

+ 1 - 1
src/fmdb.m

@@ -680,7 +680,7 @@ int main (int argc, const char * argv[]) {
     
     {
         FMDBQuickCheck([db executeUpdate:@"create table t5 (a text, b int, c blob, d text, e text)"]);
-        FMDBQuickCheck(([db executeUpdateWithFormat:@"insert into t5 values (%s, %d, %@, %c, %lld)", "text", 42, @"BLOB", 'd', 12345678901234]));
+        FMDBQuickCheck(([db executeUpdateWithFormat:@"insert into t5 values (%s, %d, %@, %c, %lld)", "text", 42, @"BLOB", 'd', 12345678901234ll]));
         
         rs = [db executeQueryWithFormat:@"select * from t5 where a = %s and a = %@ and b = %d", "text", @"text", 42];
         FMDBQuickCheck((rs != nil));