diff options
Diffstat (limited to 'src/qbiff.c')
-rw-r--r-- | src/qbiff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qbiff.c b/src/qbiff.c index 800e1f2..0fda293 100644 --- a/src/qbiff.c +++ b/src/qbiff.c @@ -116,7 +116,7 @@ int main() if (fdutmp == -1) _exit(0); buffer_init(&b, read, fdutmp, bufutmp, sizeof(bufutmp)); - while (buffer_get(&b, &ut, sizeof(ut)) == sizeof(ut)) { + while (buffer_get(&b, (char *)&ut, sizeof(ut)) == sizeof(ut)) { if (!str_diffn(ut.ut_name, user, sizeof(ut.ut_name))) { #else while ((ut = getutxent()) != 0) { |