$OpenBSD$
--- src/local.c.orig	Fri Mar  7 12:39:43 2014
+++ src/local.c	Mon Sep  8 18:55:11 2014
@@ -159,7 +159,7 @@ local_show_directory(GList *gl, const char *path, gboo
         else if (st.st_size > BPKB) 
             snprintf(size, sizeof(size), "%.1fK", (double)st.st_size / BPKB);
         else 
-            snprintf(size, sizeof(size), "%lu", st.st_size);
+            snprintf(size, sizeof(size), "%jd", (intmax_t)st.st_size);
 
         if (S_ISREG(st.st_mode))
             perm[bits++] = '-';
