fix some compiler warnings

This commit is contained in:
wmayer
2019-05-26 14:35:09 +02:00
parent fe0fd5512b
commit 6462005da1
3 changed files with 5 additions and 4 deletions

View File

@@ -76,7 +76,7 @@ static void print_curve(const CCurve& c)
#if defined SIZEOF_SIZE_T && SIZEOF_SIZE_T == 4
printf("number of vertices = %d\n", nvertices);
#else
printf("number of vertices = %lu\n", nvertices);
printf("number of vertices = %Iu\n", nvertices);
#endif
int i = 0;
for(std::list<CVertex>::const_iterator It = c.m_vertices.begin(); It != c.m_vertices.end(); It++, i++)