]> 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>
Fri, 12 Dec 2008 11:54:32 +0000 (12:54 +0100)
commitd63e54e6c3aa9acb3015525d22e1d1b19ab4315c
tree1d18c176a61af2fddd54ec5b2d4bcd0c1e6a5c18
parentc08a410d66489b7d10970437fae2f04ce7e46bf8
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