mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-02-17 16:50:18 +08:00
used cast to int instead of %ul printf format, because some compilers are a little out of step
This commit is contained in:
parent
93cb051b72
commit
cfa773d29d
@ -385,7 +385,7 @@ NC_hashmap_verify(NC_hashmap* hash, NC_dim** dims)
|
||||
for(i=0;i<hash->size;i++) {
|
||||
hEntry* e = &hash->table[i];
|
||||
if(e->flags == ACTIVE) {
|
||||
fprintf(stderr,"[%lu] key=%lu data=%ld",i,e->key,e->data-1);
|
||||
fprintf(stderr,"[%d] key=%lu data=%ld",(int)i,e->key,e->data-1);
|
||||
if(dims != NULL) {
|
||||
fprintf(stderr," name=%s",dims[e->data-1]->name->cp);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user