Fossil SCM
Use "sqlite3_int64" instead of "long long int" for compatibility with compilers that do not support long long.
Commit
e0073f431c030e66988a88056003d1e09edff959
Parent
36e3ab4c42dda79…
1 file changed
+1
-1
+1
-1
| --- src/main.c | ||
| +++ src/main.c | ||
| @@ -52,11 +52,11 @@ | ||
| 52 | 52 | int isConst; /* True if the output is unchanging */ |
| 53 | 53 | sqlite3 *db; /* The connection to the databases */ |
| 54 | 54 | sqlite3 *dbConfig; /* Separate connection for global_config table */ |
| 55 | 55 | int useAttach; /* True if global_config is attached to repository */ |
| 56 | 56 | int configOpen; /* True if the config database is open */ |
| 57 | - long long int now; /* Seconds since 1970 */ | |
| 57 | + sqlite3_int64 now; /* Seconds since 1970 */ | |
| 58 | 58 | int repositoryOpen; /* True if the main repository database is open */ |
| 59 | 59 | char *zRepositoryName; /* Name of the repository database */ |
| 60 | 60 | const char *zMainDbType;/* "configdb", "localdb", or "repository" */ |
| 61 | 61 | const char *zHome; /* Name of user home directory */ |
| 62 | 62 | int localOpen; /* True if the local database is open */ |
| 63 | 63 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -52,11 +52,11 @@ | |
| 52 | int isConst; /* True if the output is unchanging */ |
| 53 | sqlite3 *db; /* The connection to the databases */ |
| 54 | sqlite3 *dbConfig; /* Separate connection for global_config table */ |
| 55 | int useAttach; /* True if global_config is attached to repository */ |
| 56 | int configOpen; /* True if the config database is open */ |
| 57 | long long int now; /* Seconds since 1970 */ |
| 58 | int repositoryOpen; /* True if the main repository database is open */ |
| 59 | char *zRepositoryName; /* Name of the repository database */ |
| 60 | const char *zMainDbType;/* "configdb", "localdb", or "repository" */ |
| 61 | const char *zHome; /* Name of user home directory */ |
| 62 | int localOpen; /* True if the local database is open */ |
| 63 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -52,11 +52,11 @@ | |
| 52 | int isConst; /* True if the output is unchanging */ |
| 53 | sqlite3 *db; /* The connection to the databases */ |
| 54 | sqlite3 *dbConfig; /* Separate connection for global_config table */ |
| 55 | int useAttach; /* True if global_config is attached to repository */ |
| 56 | int configOpen; /* True if the config database is open */ |
| 57 | sqlite3_int64 now; /* Seconds since 1970 */ |
| 58 | int repositoryOpen; /* True if the main repository database is open */ |
| 59 | char *zRepositoryName; /* Name of the repository database */ |
| 60 | const char *zMainDbType;/* "configdb", "localdb", or "repository" */ |
| 61 | const char *zHome; /* Name of user home directory */ |
| 62 | int localOpen; /* True if the local database is open */ |
| 63 |