diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-03-20 08:20:35 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-03-20 08:26:38 +0200 |
commit | e7419364c4ef7986657974382076a52094aeb7dc (patch) | |
tree | b730bf637dc61c20d0cdc6b40e400e4952bd3a59 /nlpsolver | |
parent | 542d45df30a78e937f17156aac56d7cc649bbc82 (diff) |
'size_t' is not the same as 'unsigned long'
So using %lu to printf 'size_t' is not 100% portable either. At least in
64-bit Windows code 'size_t' is 64 bits but 'unsigned long' is 32 bits.
Let's just use 'unsigned' for the loop indexes here (and %u as the
format). After all, they are single-digit numbers.
Alternatively, could just use C++ stream output for this purely informative
printout.
Change-Id: I604e1c6c6a910c86b5f1408bee1d9c2c7a8b76ff
Diffstat (limited to 'nlpsolver')
0 files changed, 0 insertions, 0 deletions