comparison lib-src/yow.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 abe6d1db359e
children 943eaba38521
comparison
equal deleted inserted replaced
646:00c54252fe4f 647:b39c14581166
122 yow (FILE *fp) 122 yow (FILE *fp)
123 { 123 {
124 long offset; 124 long offset;
125 int c, i = 0; 125 int c, i = 0;
126 char *buf; 126 char *buf;
127 unsigned int bufsize; 127 int bufsize;
128 128
129 offset = rand() % len + header_len; 129 offset = rand() % len + header_len;
130 if (fseek(fp, offset, 0) == -1) { 130 if (fseek(fp, offset, 0) == -1) {
131 perror("fseek 2"); 131 perror("fseek 2");
132 exit(1); 132 exit(1);