Wireshark-commits: [Wireshark-commits] master 1275d05: Reduce compilator warnings
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=1275d05913e7ad40208fd34746748ff9ac3324b3
Submitter: Michal Labedzki (michal.labedzki@xxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
1275d05 by Michal Labedzki (michal.labedzki@xxxxxxxxx):
Reduce compilator warnings
warning: cast from 'const guint8 *' (aka 'const unsigned char *') to
'const guint16 *' (aka 'const unsigned short *') increases required
alignment from 1 to 2 [-Wcast-align]
warning: cast from 'const guint8 *' (aka 'const unsigned char *') to
'const struct logger_entry *' increases required alignment
from 1 to 4 [-Wcast-align]
Change-Id: I1ef8bfedb31c3f633166405689d8d788d45365db
Reviewed-on: https://code.wireshark.org/review/4236
Petri-Dish: Michal Labedzki <michal.labedzki@xxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Tested-by: Michal Labedzki <michal.labedzki@xxxxxxxxx>
Reviewed-by: Michal Labedzki <michal.labedzki@xxxxxxxxx>
Actions performed:
from e179870 ANSI IS-637 A: remove a useless variable
adds 1275d05 Reduce compilator warnings
Summary of changes:
wiretap/logcat.c | 12 ++++++------
wiretap/logcat_text.c | 8 ++++----
2 files changed, 10 insertions(+), 10 deletions(-)