//printf("nelts=%d t=%llx\n",vs->nelts, (unsigned long long int)(vs->t));
supertuple_t *t, *p;
gs_uint32_t nelts=0;
- gs_uint32_t rmin=0, rmax, rank, ropt=UINT_MAX;
+ gs_int32_t rmin=0, rmax, rank, ropt=INT_MAX;
gs_uint32_t count=0;
for (t=vs->t; t != NULL; t=t->next) {
nelts += t->gap;
count++;
}
- rank = (gs_uint32_t) (phi*(float)nelts);
+ rank = (gs_int32_t) (phi*(float)nelts);
for (t=vs->t; t != NULL; t=t->next) {
rmin += t->gap;
quant_udaf_hfta3_struct_t *vs = (quant_udaf_hfta3_struct_t *)(v->offset);
supertuple_t *t, *p;
gs_uint32_t nelts=0;
- gs_uint32_t rmin=0, rmax, rank, ropt=UINT_MAX;
+ gs_int32_t rmin=0, rmax, rank, ropt=INT_MAX;
gs_uint32_t count=0;
for (t=vs->t; t != NULL; t=t->next) {
nelts += t->gap;
count++;
}
- rank = (gs_uint32_t) (phi*(float)nelts);
+ rank = (gs_int32_t) (phi*(float)nelts);
for (t=vs->t; t != NULL; t=t->next) {
rmin += t->gap;