aboutsummaryrefslogtreecommitdiffstats
path: root/epan/osi-utils.c
diff options
context:
space:
mode:
authorAndersBroman <anders.broman@ericsson.com>2015-02-19 15:21:34 +0100
committerAnders Broman <a.broman58@gmail.com>2015-02-19 14:23:03 +0000
commitca68a7adc306dcd177d731766833a0369768027a (patch)
tree76ed9c597f6b8deefcf995d3ac8f12c3855fdaa5 /epan/osi-utils.c
parentadf6f895689dc334d1ee3c4d69ff39b77ff7174f (diff)
Add some casts to satisfy the various compilers.
Change-Id: I7687fc0b433774fe447757af00bdaa2fc44ac59d Reviewed-on: https://code.wireshark.org/review/7254 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/osi-utils.c')
-rw-r--r--epan/osi-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/osi-utils.c b/epan/osi-utils.c
index 073c43ba35..48fe369f68 100644
--- a/epan/osi-utils.c
+++ b/epan/osi-utils.c
@@ -223,7 +223,7 @@ static int osi_address_type = -1;
static int osi_address_to_str(const address* addr, gchar *buf, int buf_len)
{
print_nsap_net_buf((const guint8 *)addr->data, addr->len, buf, buf_len);
- return strlen(buf)+1;
+ return (int)strlen(buf)+1;
}
static int osi_address_str_len(const address* addr _U_)