]> err.no Git - util-linux/commit
login: fix warning "dereferencing type-punned pointer will break strict-aliasing...
authorKarel Zak <kzak@redhat.com>
Mon, 1 Sep 2008 10:41:57 +0000 (12:41 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 1 Sep 2008 10:41:57 +0000 (12:41 +0200)
commit53e9eda352e0eabfc5a8f21828a8d5335f4520f0
treea193bea1c99f7b2020f506d628412da59e5e07cf
parent65158b10813e326396bd13a029aed108019324a2
login: fix warning "dereferencing type-punned pointer will break strict-aliasing rules"

This patch fix problems with odd pam_get_iten( ..., void **) API.
(tested by gcc-4.1.2-42.el5.i386)

Signed-off-by: Karel Zak <kzak@redhat.com>
login-utils/login.c