Squashes 4 -Wsign-conversion warnings. Note that this also changes the sentinel
from `-1` to `UINT_MAX`.
unsigned edge_id;
unsigned selnode_id;
unsigned seledge_id;
- int nodelabel_id;
+ unsigned nodelabel_id;
int edgelabel_id;
}topviewcache;
}
static void cacheNodeLabels(Agraph_t * g,topview* t)
{
- if(t->cache.nodelabel_id!=-1) /*clean existing cache*/
+ if (t->cache.nodelabel_id != UINT_MAX) // clean existing cache
glDeleteLists(t->cache.nodelabel_id,1);
t->cache.nodelabel_id=glGenLists(1);
glNewList(t->cache.nodelabel_id,GL_COMPILE);