- Fix build on sparc64

Submitted by:	arved
This commit is contained in:
Dirk Meyer 2004-07-28 04:57:06 +00:00
parent e4fe598071
commit a08b72ccc5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=114909

View File

@ -0,0 +1,11 @@
--- lib/util/wordaccess.h.orig Tue Jun 29 23:20:25 2004
+++ lib/util/wordaccess.h Mon Jul 26 23:08:10 2004
@@ -65,7 +65,7 @@
exact same format as wordintBytes. It's a simple matter of casting
to fool the compiler.
*/
-static __inline__ wordn
+static __inline__ wordint
bytesToWordint(wordintBytes bytes) {
return *((wordint *)bytes);
}