]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cgi-bin/help-index.c
Fix build errors on Fedora.
[thirdparty/cups.git] / cgi-bin / help-index.c
index c63e21ccac97bf130afc2cb11660e080610d5b3a..8444824514afbfdce7b892cc3fd6bfd4c288df4f 100644 (file)
@@ -1163,7 +1163,7 @@ help_load_file(
 
        wordlen = (int)(ptr - text);
 
-        memcpy(temp, text, wordlen);
+        memcpy(temp, text, (size_t)wordlen);
        temp[wordlen] = '\0';
 
         ptr --;