Wireshark-commits: [Wireshark-commits] master 7b9b881: Float constants end with "f"; assign float c

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 21 Aug 2014 08:06:27 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=7b9b8818418bd413341a0b346ab5ed06e1621575
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

7b9b881 by Guy Harris (guy@xxxxxxxxxxxx):

    Float constants end with "f"; assign float constants to gfloats.
    
    This squelches some compiler warnings about assigning double values to
    floats (no, there's no precision in 0 to lose, but the compiler warns
    anyway).
    
    Change-Id: Ia49618cb8582c5afcdc5bdc5334fe20724b85eda
    Reviewed-on: https://code.wireshark.org/review/3762
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  66318ad   Don't assert out on tvb_memcpy() with a null data pointer if the length is 0.
    adds  7b9b881   Float constants end with "f"; assign float constants to gfloats.


Summary of changes:
 ui/gtk/extcap_gtk.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)