summaryrefslogtreecommitdiff
path: root/source/fitz/tempfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/fitz/tempfile.c')
-rw-r--r--source/fitz/tempfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/tempfile.c b/source/fitz/tempfile.c
index 77c7c04a..fd7d0f5f 100644
--- a/source/fitz/tempfile.c
+++ b/source/fitz/tempfile.c
@@ -23,7 +23,7 @@ char *fz_tempfilename(fz_context *ctx, const char *base, const char *hint)
#ifdef USE_HINT_FOR_DIR
char *hintpath;
- int hintlen;
+ size_t hintlen;
hintlen = strlen(hint);
hintpath = fz_malloc(ctx, 1 + hintlen);