Wireshark-commits: [Wireshark-commits] master 8482173: Make some variables size_t, as values of tha

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 6 Sep 2014 18:45:55 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=8482173e5a23f3815ef74bb1d9b3a70f72f86819
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

8482173 by Guy Harris (guy@xxxxxxxxxxxx):

    Make some variables size_t, as values of that width are assigned to it.
    
    (I'd say "as values of that *type* are assigned to it", but the "len"
    field of a GString is of type "gsize", and, for some unknown reason, the
    GLib folks, rather than just using size_t, which is required by C89 to
    be available, invented their own "gsize" type, defined as "long", which
    happens to be narrower than "size_t" on LLP64 platforms such as 64-bit
    Windows.  Sigh....)
    
    This squelches some compiler warnings.
    
    Change-Id: Ifca1300297b2e9b777fb2c426dda822ba157cfe5
    Reviewed-on: https://code.wireshark.org/review/4014
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  0bafffb   Put asn1 back as a distributed subdirectory.
    adds  8482173   Make some variables size_t, as values of that width are assigned to it.


Summary of changes:
 epan/dtd_parse.l |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)