Fix some warnings on *BSD's

This commit is contained in:
Sanel Zukan
2009-10-07 09:25:21 +00:00
parent 205ba2b837
commit c3912222cd
2 changed files with 2 additions and 2 deletions

View File

@@ -101,7 +101,7 @@ static void study_and_fill(DesktopIcon* dicon, DesktopIconData* data) {
} else {
char buff[128];
snprintf(buff, sizeof(buff), "%lu Bytes", st.st_size);
snprintf(buff, sizeof(buff), "%lu Bytes", (unsigned long)st.st_size);
data->size = buff;
strftime(buff, sizeof(buff), "%F %H:%S", localtime(&st.st_atime));