[Xorp-cvs] XORP cvs commit: xorp/libxipc
Bruce Simpson
bms at icir.org
Tue Oct 28 06:25:11 PDT 2008
CVSROOT: /usr/local/www/data/cvs
Module name: xorp
Changes by: bms at chum.icir.org 2008-10-28 13:25:11 UTC
XORP CVS repository
Modified files:
libxipc xrl_args.cc xrl_atom.cc
Log message:
Fix two alignment warnings in the XRL layer, by using the
alignment agnostic inline function extract_32() from
libproto/packet.hh, instead of using ntohl() with a reinterpret_cast.
Code like this elsewhere needs careful review if it is to work without
issue on strict alignment architectures such as xScale.
Reviewed by: Pavlin Radslavov
Found with: gcc 4.1.0 for arm-xscale-linux-gnu
(crosstool, demo-arm-xscale.sh config)
Revision Changes Path
1.32 +4 -3; commitid: a5f490712a241a7; xorp/libxipc/xrl_args.cc
1.45 +4 -3; commitid: a5f490712a241a7; xorp/libxipc/xrl_atom.cc
More information about the Xorp-cvs
mailing list