Make pointer differenace a long.

This commit is contained in:
nhkeni
2022-03-17 16:56:25 -04:00
parent 7a790c2a30
commit 9f3063df01

View File

@@ -614,7 +614,8 @@ dodiscovered(void) /* free after Robert Viduya */
char *s, *p, oclass, prev_class,
classes[MAXOCLASSES], buf[BUFSZ],
*sorted_lines[NUM_OBJECTS]; /* overkill */
int i, j, sortindx, dis, ct, uniq_ct, arti_ct, sorted_ct;
int i, j, dis, ct, uniq_ct, arti_ct, sorted_ct;
long sortindx; // should be ptrdiff_t, but we don't require that exists
boolean alphabetized, alphabyclass, lootsort;
if (!flags.discosort || !(p = index(disco_order_let, flags.discosort)))