Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 6e471b3

Browse files
committed
[[ Cleanup ]] revdb: Use correct size_type for connection count.
1 parent 0cb7be1 commit 6e471b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

revdb/src/revdb.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2043,7 +2043,7 @@ void REVDB_Connections(char *args[], int nargs, char **retstring,
20432043
{
20442044
result = (char *)malloc(connlist->size() * INTSTRSIZE);
20452045
result[0] = '\0';
2046-
int numconnections = 0;
2046+
DBObjectList::size_type numconnections = 0;
20472047
for (theIterator = connlist->begin(); theIterator != connlist->end(); theIterator++)
20482048
{
20492049
DBConnection *curconnection = (DBConnection *)(*theIterator);

0 commit comments

Comments
 (0)