From: Chuck Lever Date: Mon, 19 Jul 2010 14:09:12 +0000 (-0400) Subject: nfs-utils: Fix C aliasing rules violation in nfs_getrpccaller() X-Git-Tag: nfs-utils-1-2-3-rc5~27 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;ds=sidebyside;h=0bd7e91cea26bcfc5581290e4cdd87870da29b9e;hp=0bd7e91cea26bcfc5581290e4cdd87870da29b9e;p=nfs-utils.git nfs-utils: Fix C aliasing rules violation in nfs_getrpccaller() Squelch compiler warnings reported with -Wextra: In file included from statd.c:24: ../../support/include/rpcmisc.h: In function nfs_getrpccaller_in: ../../support/include/rpcmisc.h:58: warning: dereferencing type-punned pointer might break strict-aliasing rules ../../support/include/rpcmisc.h: In function nfs_getrpccaller: ../../support/include/rpcmisc.h:63: warning: dereferencing type-punned pointer might break strict-aliasing rules Signed-off-by: Chuck Lever Signed-off-by: Steve Dickson ---