Skip to content

Commit

Permalink
Use size_t for vector indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
mloskot committed Oct 29, 2012
1 parent 559c5c0 commit 67f11dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backends/postgresql/test/test-postgresql.cpp
Expand Up @@ -528,7 +528,7 @@ void test12()
table_creator_for_test12 tableCreator(sql);

std::vector<long> ids(10);
for (int i = 0; i != ids.size(); i++)
for (std::size_t i = 0; i != ids.size(); i++)
{
long sid(0);
std::string txt("abc");
Expand Down

0 comments on commit 67f11dc

Please sign in to comment.