Commit eadb9e43 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Fix compiler warning: comparison between signed and unsigned integer expressions.

parent edb349a1
......@@ -55,10 +55,10 @@ void zaxis_print_kernel(int zaxisID, FILE *fp)
}
else if ( type == ZAXIS_CHAR )
{
size_t clen = zaxisInqCLen(zaxisID);
int clen = zaxisInqCLen(zaxisID);
zaxisInqCVals(zaxisID, &cvals);
fprintf(fp, "levels = \n");
for ( size_t i = 0; i < nlevels; i++ )
fprintf(fp, "levels = \n");
for ( int i = 0; i < nlevels; i++ )
{
fprintf(fp, " [%2d] = %.*s\n", i, clen, cvals[i]);
Free(cvals[i]);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment