Date: Fri, 3 Mar 2006 18:41:59 +0000 (UTC) From: Maxime Henrion <mux@FreeBSD.org> To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: projects/csup queue.h Message-ID: <200603031842.k23Ig0hW061991@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mux 2006-03-03 18:41:59 UTC
FreeBSD projects repository
Modified files:
csup queue.h
Log:
Cast the pointer to void * before casting it back to struct type * in
STAILQ_LAST. This quiets a warning from GCC about increased required
alignment for the cast.
Idea from: cognet
Revision Changes Path
1.5 +3 -3 projects/csup/queue.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603031842.k23Ig0hW061991>
