comparison src/console-x.c @ 647:b39c14581166

[xemacs-hg @ 2001-08-13 04:45:47 by ben] removal of unsigned, size_t, etc.
author ben
date Mon, 13 Aug 2001 04:46:48 +0000
parents 190b164ddcac
children fdefd0186b75
comparison
equal deleted inserted replaced
646:00c54252fe4f 647:b39c14581166
198 else 198 else
199 { 199 {
200 /* connection =~ s/^unix:/localhost:/; */ 200 /* connection =~ s/^unix:/localhost:/; */
201 const Bufbyte *p = XSTRING_DATA (connection); 201 const Bufbyte *p = XSTRING_DATA (connection);
202 const Bufbyte *end = XSTRING_DATA (connection) + XSTRING_LENGTH (connection); 202 const Bufbyte *end = XSTRING_DATA (connection) + XSTRING_LENGTH (connection);
203 size_t i; 203 int i;
204 204
205 for (i = 0; i < sizeof ("unix:") - 1; i++) 205 for (i = 0; i < (int) sizeof ("unix:") - 1; i++)
206 { 206 {
207 if (p == end || charptr_emchar (p) != "unix:"[i]) 207 if (p == end || charptr_emchar (p) != "unix:"[i])
208 goto ok; 208 goto ok;
209 INC_CHARPTR (p); 209 INC_CHARPTR (p);
210 } 210 }