diff options
Diffstat (limited to 'locale/programs/localedef.c')
-rw-r--r-- | locale/programs/localedef.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/locale/programs/localedef.c b/locale/programs/localedef.c index fa5d3de02b..86b8bff5da 100644 --- a/locale/programs/localedef.c +++ b/locale/programs/localedef.c @@ -356,8 +356,8 @@ construct_output_path (char *path) if (normal == NULL) n = asprintf (&result, "%s/%s%c", LOCALEDIR, path, '\0'); else - n = asprintf (&result, "%s/%.*s%s%s%c", LOCALEDIR, startp - path, path, - normal, endp, '\0'); + n = asprintf (&result, "%s/%.*s%s%s%c", LOCALEDIR, + (int) (startp - path), path, normal, endp, '\0'); endp = result + n; } |