summaryrefslogtreecommitdiff
path: root/tests/lookup_shadow.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lookup_shadow.c')
-rw-r--r--tests/lookup_shadow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lookup_shadow.c b/tests/lookup_shadow.c
index 5c96108..3655806 100644
--- a/tests/lookup_shadow.c
+++ b/tests/lookup_shadow.c
@@ -41,7 +41,7 @@ static void print_shadow(struct spwd *result)
{
printf("%s:%s:", result->sp_namp, result->sp_pwdp);
if (result->sp_lstchg >= 0)
- printf("%d", result->sp_lstchg);
+ printf("%d", (int)result->sp_lstchg);
printf(":");
if (result->sp_min >= 0)
printf("%d", (int)result->sp_min);