Wireshark-commits: [Wireshark-commits] master f9e7fd5: Fix x64 compilation warning
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 27 Apr 2015 14:40:21 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f9e7fd5898a8df3b22566f7d2ce7a0d06f5f4532
Submitter: Graham Bloice (graham.bloice@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

f9e7fd5 by Graham Bloice (graham.bloice@xxxxxxxxxxxxx):

    Fix x64 compilation warning
    
    The build warning:
    
      C:/buildbot/wireshark/wireshark-master-64/win7x64/build/cmbuild/epan/uat_load.c(1348):
      warning C4267: '+=' : conversion from 'size_t' to 'guint', possible loss of data
    
    is caused by parse_str_pos being a guint and adding a size_t value.
    Fix by declaring parse_str_pos as size_t.
    
    Change-Id: I0e33ea710abeb0ea23d816f35bc3eda8d9b13e60
    Reviewed-on: https://code.wireshark.org/review/8198
    Petri-Dish: Graham Bloice <graham.bloice@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Graham Bloice <graham.bloice@xxxxxxxxxxxxx>
    

Actions performed:

    from  af11fde   [RANAP] Heuristics does not work with lenght detremant of 2 bytes.
    adds  f9e7fd5   Fix x64 compilation warning


Summary of changes:
 epan/uat_load.l |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)