Wireshark-commits: [Wireshark-commits] master ce03200: sharkd: remove compiler warning.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 28 Sep 2018 04:34:48 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=ce03200f56fe14652f645aa5b1e99c61071a7693
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

ce03200 by Dario Lombardo (lomato@xxxxxxxxx):

    sharkd: remove compiler warning.
    
    ../sharkd_session.c: In function ‘json_puts_string’:
    ../sharkd_session.c:125:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
        fputs(json_cntrl[str[i]], stdout);
    
    Change-Id: I03a07b8cb42692f636491fad9b15ac71ac0c03f4
    Reviewed-on: https://code.wireshark.org/review/29883
    Petri-Dish: Dario Lombardo <lomato@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  f3e5618   sharkd: cast string to be encoded to unsigned char *.
     add  ce03200   sharkd: remove compiler warning.


Summary of changes:
 sharkd_session.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)