diff --git a/po/nl.po b/po/nl.po index 35cb850d..674c6423 100644 --- a/po/nl.po +++ b/po/nl.po @@ -346,9 +346,9 @@ msgstr "" #: ../src/dialog.c:594 #, c-format -msgid "full path for file \"%s\" in \"%s\" is longer than %ld bytes, skipped" +msgid "full path for file \"%s\" in \"%s\" is longer than %d bytes, skipped" msgstr "" -"volledig pad voor bestand \"%s\" in \"%s\" is langer dan %ld byte, " +"volledig pad voor bestand \"%s\" in \"%s\" is langer dan %d byte, " "overgeslagen" #: ../src/dialog.c:628 diff --git a/src/dialog.c b/src/dialog.c index b7b8f530..56cd3dba 100644 --- a/src/dialog.c +++ b/src/dialog.c @@ -591,8 +591,8 @@ static void listPixmaps(WScreen *scr, WMList *lPtr, const char *path) if (wstrlcpy(pbuf, apath, sizeof(pbuf)) >= sizeof(pbuf) || wstrlcat(pbuf, "/", sizeof(pbuf)) >= sizeof(pbuf) || wstrlcat(pbuf, dentry->d_name, sizeof(pbuf)) >= sizeof(pbuf)) { - wwarning(_("full path for file \"%s\" in \"%s\" is longer than %ld bytes, skipped"), - dentry->d_name, path, sizeof(pbuf) - 1); + wwarning(_("full path for file \"%s\" in \"%s\" is longer than %d bytes, skipped"), + dentry->d_name, path, (int) (sizeof(pbuf) - 1) ); continue; }