Mercurial > hg > index.cgi
comparison lwlink/readfiles.c @ 386:221b5f58d8ad
Port remainder of tools to Windows
Thanks to Erik G <erik@6809.org> for the patch.
Quoth Erik:
"As a thank you for putting up with my nonsense, I ported the remaining
binaries. Although I'm not using them (yet), I did verify that they work and
the changes are basically zero so I have confidence in them."
author | William Astle <lost@l-w.ca> |
---|---|
date | Mon, 13 Jul 2015 21:32:39 -0600 |
parents | ce1fdc8d6568 |
children | fda62f676ed4 |
comparison
equal
deleted
inserted
replaced
385:4fd16faa4d93 | 386:221b5f58d8ad |
---|---|
386 An empty file name indicates the end of the file. | 386 An empty file name indicates the end of the file. |
387 | 387 |
388 */ | 388 */ |
389 void read_lwar1v(fileinfo_t *fn) | 389 void read_lwar1v(fileinfo_t *fn) |
390 { | 390 { |
391 unsigned long cc = 6; | 391 int cc = 6; |
392 unsigned long flen; | 392 int flen; |
393 unsigned long l; | 393 unsigned long l; |
394 for (;;) | 394 for (;;) |
395 { | 395 { |
396 if (cc >= fn -> filesize || !(fn -> filedata[cc])) | 396 if (cc >= fn -> filesize || !(fn -> filedata[cc])) |
397 return; | 397 return; |