Wireshark-commits: [Wireshark-commits] master 9754192: Cast size_t to to gulong as the length argum

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 10 Oct 2014 01:09:32 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=9754192f9b4cdd5d2bf9e89c8f05a8986cd75e21
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

9754192 by Guy Harris (guy@xxxxxxxxxxxx):

    Cast size_t to to gulong as the length argument to g_snprintf().
    
    Sadly, the GTK+ folks decided not to use size_t for the size argument,
    so it doesn't do the right thing on LLP64 platforms such as Windows.
    
    Change-Id: I2aa9096215c488b48f1cf68d2a285a48abb6f07f
    Reviewed-on: https://code.wireshark.org/review/4584
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  5947291   Fix declared types of open routines.
    adds  9754192   Cast size_t to to gulong as the length argument to g_snprintf().


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