summaryrefslogtreecommitdiff
path: root/epan/guid-utils.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2009-04-08 05:25:14 +0000
committerGerald Combs <gerald@wireshark.org>2009-04-08 05:25:14 +0000
commit844af38e5412af04e9a695331a9fcbbd9f86e406 (patch)
tree88635f81867c46b0775a9385c904ba37ff5496b2 /epan/guid-utils.c
parentd9f7a40296b380babe03dc54deb2fbfc9262994b (diff)
downloadwireshark-844af38e5412af04e9a695331a9fcbbd9f86e406.tar.gz
size_t fixes.
svn path=/trunk/; revision=27990
Diffstat (limited to 'epan/guid-utils.c')
-rw-r--r--epan/guid-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/guid-utils.c b/epan/guid-utils.c
index c03a19f0f1..60fce072e3 100644
--- a/epan/guid-utils.c
+++ b/epan/guid-utils.c
@@ -71,7 +71,7 @@ ResolveWin32UUID(e_guid_t if_id, char *uuid_name, int uuid_name_max_len)
if (RegQueryValueEx(hKey, NULL, NULL, NULL, (LPBYTE)reg_uuid_name, &uuid_max_size) == ERROR_SUCCESS && uuid_max_size <= MAX_PATH) {
g_snprintf(uuid_name, uuid_name_max_len, "%s", utf_16to8(reg_uuid_name));
RegCloseKey(hKey);
- return strlen(uuid_name);
+ return (int) strlen(uuid_name);
}
RegCloseKey(hKey);
}