saa_fpwrite: initializing "len" should be part of the loop
commita44b587b14843f1efe0da8c65497c5e9f8ea3b14
authorH. Peter Anvin <hpa@zytor.com>
Mon, 8 Oct 2007 04:13:14 +0000 (7 21:13 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 8 Oct 2007 04:13:14 +0000 (7 21:13 -0700)
treeadd5f4ee43916a99be6bf7e63bb1c16a837b57fd
parent43f699b9bd9e9a3340fbdd17b869ae3148d9bfe8
saa_fpwrite: initializing "len" should be part of the loop

"len" should properly be initialized on every turn of the loop.  It
can be initialized to any value >= blk_len that fits in a size_t.
(size_t)~0 would work except for any possible noncompliant C compilers
that have a signed size_t (illegal per C99 7.17.2).
nasmlib.c