diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-06-05 08:04:15 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-06-05 08:04:15 +0000 |
commit | 92bd70a3802fb7877f4975069b73db3feec707e4 (patch) | |
tree | f44035c168d36b87b7ee38cda30aee977474129a /wiretap/k12text.l | |
parent | 7ed3d0e959c466d46c2e8328c9cfa553c09ccd56 (diff) |
Making "had" a ptrdiff_t caused warnings, even if it eliminated a
warning about assigning the difference between two (64-bit) pointers to
a (32-bit) variable. That difference is guaranteed to fit in an
unsigned int; make "had" an unsigned int, and cast the difference to
unsigned int before assigning it to "had".
svn path=/trunk/; revision=43103
Diffstat (limited to 'wiretap/k12text.l')
0 files changed, 0 insertions, 0 deletions