b0b9e204768e7c478ec39977858910e9d478c979 max Mon Apr 21 11:21:30 2025 -0700 fixing new gcc warning in hgcentralTidy.c, no redmine diff --git src/hg/hgcentralTidy/hgcentralTidy.c src/hg/hgcentralTidy/hgcentralTidy.c index 5045ed76e73..435669b4905 100644 --- src/hg/hgcentralTidy/hgcentralTidy.c +++ src/hg/hgcentralTidy/hgcentralTidy.c @@ -333,31 +333,31 @@ struct sqlResult *sr; char **row; char query[256]; unsigned int *ids; long totalRows = 0; boolean squealed = FALSE; time_t cleanStart = time(NULL); verbose(1, "-------------------\n"); verbose(1, "Cleaning table %s\n", table); verbose(1, "%s\n", ctime(&cleanStart)); totalRows = sqlTableSize(conn, table); -verbose(1,"totalRows=%d\n", totalRows); +verbose(1,"totalRows=%ld\n", totalRows); if (totalRows==0) { verbose(1,"table %s is empty!", table); return FALSE; } AllocArray(ids, totalRows); // This is a super-fast query because it only needs to read the index which is cached in memory. sqlSafef(query,sizeof(query), "select id from %s" , table); sr = sqlGetResult(conn, query); int i = 0; while ((row = sqlNextRow(sr)) != NULL) {