harmless clang warning

format specifies type 'unsigned long' but the argument has type
'size_t' (aka 'unsigned int')
This commit is contained in:
Paolo Cignoni 2016-12-02 15:36:33 +01:00
parent e977c746bd
commit 4f34f2d78e
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@ public:
const char* Info(TRIMESH_TYPE &m)
{
static char dump[60];
sprintf(dump,"%lu -> %lu %g\n", tri::Index(m,_pos.F()->V(0)), tri::Index(m,_pos.F()->V(1)),-_priority);
sprintf(dump,"%zu -> %zu %g\n", tri::Index(m,_pos.F()->V(0)), tri::Index(m,_pos.F()->V(1)),-_priority);
return dump;
}