summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/sa/usrdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sa/usrdb.c b/usr.sbin/sa/usrdb.c
index cd05b969df0..f597263461b 100644
--- a/usr.sbin/sa/usrdb.c
+++ b/usr.sbin/sa/usrdb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: usrdb.c,v 1.8 2009/10/27 23:59:54 deraadt Exp $ */
+/* $OpenBSD: usrdb.c,v 1.9 2010/08/30 16:14:36 matthew Exp $ */
/*
* Copyright (c) 1994 Christopher G. Demetriou
* All rights reserved.
@@ -264,7 +264,7 @@ usracct_print(void)
static int
uid_compare(const DBT *k1, const DBT *k2)
{
- u_long d1, d2;
+ uid_t d1, d2;
memcpy(&d1, k1->data, sizeof(d1));
memcpy(&d2, k2->data, sizeof(d2));