diff options
Diffstat (limited to 'screenshot.c')
-rw-r--r-- | screenshot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/screenshot.c b/screenshot.c index 87de5c2d37..b84bb6d340 100644 --- a/screenshot.c +++ b/screenshot.c @@ -67,7 +67,7 @@ static char *stripext(void *talloc_ctx, const char *s) const char *end = strrchr(s, '.'); if (!end) end = s + strlen(s); - return talloc_asprintf(talloc_ctx, "%.*s", end - s, s); + return talloc_asprintf(talloc_ctx, "%.*s", (int)(end - s), s); } #ifdef _WIN32 |