# HG changeset patch # User Paul Boddie # Date 1645054394 -3600 # Node ID aadba73e788caa20d2888d87970746eae7d48c92 # Parent a5430b30cd3a071b2e43c34cc680b0d3ebe6f729 Fixed L4Re compilation warnings. diff -r a5430b30cd3a -r aadba73e788c libe2access/lib/src/utils.c --- a/libe2access/lib/src/utils.c Wed Feb 16 19:28:42 2022 +0100 +++ b/libe2access/lib/src/utils.c Thu Feb 17 00:33:14 2022 +0100 @@ -60,6 +60,8 @@ ext2_filsys fs = data->fs; struct ext2_inode inode; + (void) offset; (void) blocksize; (void) buf; + /* Select any indicated filename. */ if ((data->filename != NULL) && (strcmp(dirent->name, data->filename))) @@ -73,7 +75,7 @@ /* Output details in the style of "ls -l" showing directory, permissions, owner, group and size information. */ - printf("%s%s %5d %5d %6d ", + printf("%s%s %5d %5d %6lld ", _image_isdir(fs, dirent->inode) ? "d" : "-", get_permission_string(inode.i_mode), inode.i_uid,