diff options
author | Bill Meier <wmeier@newsguy.com> | 2013-03-20 01:18:10 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2013-03-20 01:18:10 +0000 |
commit | 0df5a9390d41149dfc87440d72e7669ba96748ec (patch) | |
tree | 8accf4dfc301adfc679ed7f21b7123cb4b2c55f9 /epan/osi-utils.c | |
parent | a43e5a7eb9fe1ad5a89e7cfd556a791a50fefee7 (diff) |
From beroset:
remove C++ incompatibilities
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 attachment #10397
svn path=/trunk/; revision=48438
Diffstat (limited to 'epan/osi-utils.c')
-rw-r--r-- | epan/osi-utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/osi-utils.c b/epan/osi-utils.c index d077141313..92204bfa7f 100644 --- a/epan/osi-utils.c +++ b/epan/osi-utils.c @@ -44,7 +44,7 @@ print_nsap_net( const guint8 *ad, int length ) { gchar *cur; - cur = ep_alloc(MAX_NSAP_LEN * 3 + 50); + cur = (gchar *)ep_alloc(MAX_NSAP_LEN * 3 + 50); print_nsap_net_buf( ad, length, cur, MAX_NSAP_LEN * 3 + 50); return( cur ); } @@ -83,7 +83,7 @@ print_system_id( const guint8 *ad, int length ) { gchar *cur; - cur = ep_alloc(MAX_SYSTEMID_LEN * 3 + 5); + cur = (gchar *)ep_alloc(MAX_SYSTEMID_LEN * 3 + 5); print_system_id_buf(ad, length, cur, MAX_SYSTEMID_LEN * 3 + 5); return( cur ); } @@ -138,7 +138,7 @@ print_area(const guint8 *ad, int length) { gchar *cur; - cur = ep_alloc(MAX_AREA_LEN * 3 + 20); + cur = (gchar *)ep_alloc(MAX_AREA_LEN * 3 + 20); print_area_buf(ad, length, cur, MAX_AREA_LEN * 3 + 20); return cur; } |