summaryrefslogtreecommitdiff
path: root/cpp/src/icecpp/prefix.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/icecpp/prefix.c')
-rw-r--r--cpp/src/icecpp/prefix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/icecpp/prefix.c b/cpp/src/icecpp/prefix.c
index 7f56057a55d..075e148de88 100644
--- a/cpp/src/icecpp/prefix.c
+++ b/cpp/src/icecpp/prefix.c
@@ -137,7 +137,7 @@ concat VPROTO((char *first, ...))
while (arg != 0)
{
- length += strlen (arg);
+ length += (int) strlen (arg);
arg = va_arg (args, char *);
}
@@ -272,7 +272,7 @@ translate_name (name)
#endif
)
{
- prefix = save_string (prefix, strlen (prefix));
+ prefix = save_string (prefix, (int)strlen (prefix));
prefix[strlen (prefix) - 1] = 0;
}