Fossil SCM
Fix gcc warning: pointer targets in initialization differ in signedness
Commit
25d6a5f2b39666b8ed2594f73a356b3d1c2b1d6e
Parent
3c2d418b600a81d…
1 file changed
+1
-1
+1
-1
| --- src/cache.c | ||
| +++ src/cache.c | ||
| @@ -346,11 +346,11 @@ | ||
| 346 | 346 | " ORDER BY tm DESC" |
| 347 | 347 | ); |
| 348 | 348 | if( pStmt ){ |
| 349 | 349 | @ <ol> |
| 350 | 350 | while( sqlite3_step(pStmt)==SQLITE_ROW ){ |
| 351 | - const char *zName = sqlite3_column_text(pStmt,0); | |
| 351 | + const unsigned char *zName = sqlite3_column_text(pStmt,0); | |
| 352 | 352 | @ <li><p>%z(href("%R/cacheget?key=%T",zName))%h(zName)</a><br> |
| 353 | 353 | @ size: %s(sqlite3_column_text(pStmt,1)) |
| 354 | 354 | @ hit-count: %d(sqlite3_column_int(pStmt,2)) |
| 355 | 355 | @ last-access: %s(sqlite3_column_text(pStmt,3))</p></li> |
| 356 | 356 | } |
| 357 | 357 |
| --- src/cache.c | |
| +++ src/cache.c | |
| @@ -346,11 +346,11 @@ | |
| 346 | " ORDER BY tm DESC" |
| 347 | ); |
| 348 | if( pStmt ){ |
| 349 | @ <ol> |
| 350 | while( sqlite3_step(pStmt)==SQLITE_ROW ){ |
| 351 | const char *zName = sqlite3_column_text(pStmt,0); |
| 352 | @ <li><p>%z(href("%R/cacheget?key=%T",zName))%h(zName)</a><br> |
| 353 | @ size: %s(sqlite3_column_text(pStmt,1)) |
| 354 | @ hit-count: %d(sqlite3_column_int(pStmt,2)) |
| 355 | @ last-access: %s(sqlite3_column_text(pStmt,3))</p></li> |
| 356 | } |
| 357 |
| --- src/cache.c | |
| +++ src/cache.c | |
| @@ -346,11 +346,11 @@ | |
| 346 | " ORDER BY tm DESC" |
| 347 | ); |
| 348 | if( pStmt ){ |
| 349 | @ <ol> |
| 350 | while( sqlite3_step(pStmt)==SQLITE_ROW ){ |
| 351 | const unsigned char *zName = sqlite3_column_text(pStmt,0); |
| 352 | @ <li><p>%z(href("%R/cacheget?key=%T",zName))%h(zName)</a><br> |
| 353 | @ size: %s(sqlite3_column_text(pStmt,1)) |
| 354 | @ hit-count: %d(sqlite3_column_int(pStmt,2)) |
| 355 | @ last-access: %s(sqlite3_column_text(pStmt,3))</p></li> |
| 356 | } |
| 357 |