$OpenBSD: patch-src_hpls_c,v 1.2 2003/01/05 01:59:34 brad Exp $ --- src/hpls.c.orig Sun Mar 17 12:20:39 2002 +++ src/hpls.c Fri Jan 3 14:27:54 2003 @@ -417,7 +417,7 @@ void showmisc(record *ent, int flags) { size = ent->record.u.file.data_fork.total_size + ent->record.u.file.res_fork.total_size; - printf("%4Lu ", size / 1024 + (size % 1024 != 0)); + printf("%4llu ", size / 1024 + (size % 1024 != 0)); } } @@ -484,7 +484,7 @@ void show_long(int sz, queueent *ents, c else if (ent->record.type == HFSP_FILE) { hfsp_cat_file* f = &ent->record.u.file; - printf("%c%c %4.4s/%4.4s %9Lu %9Lu %s %s\n", + printf("%c%c %4.4s/%4.4s %9llu %9llu %s %s\n", f->flags & HFSP_FILE_LOCKED ? 'F' : 'f', f->user_info.fdFlags & HFS_FNDR_ISINVISIBLE ? 'i' : ' ', (char*) &f->user_info.fdType, (char*) &f->user_info.fdCreator,