freebsd-ports/net-im/ayttm/files/patch-modules::yahoo2::libyahoo2::yahoo_fn.h
Mark Linimon 4b46d748db Fix build on non-i386 arch.
PR:		ports/62534
Submitted by:	Ports Fury
2004-02-13 08:03:26 +00:00

15 lines
395 B
C

--- modules/yahoo2/libyahoo2/yahoo_fn.h.orig Thu Jan 15 08:01:45 2004
+++ modules/yahoo2/libyahoo2/yahoo_fn.h Sun Feb 8 01:03:04 2004
@@ -27,7 +27,11 @@
struct yahoo_fn
{
int type; /* type of transform */
- int arg1, arg2; /* arguments */
+ union {
+ unsigned char *table;
+ int arg1;
+ } arg1_u;
+ int arg2; /* arguments */
};
int yahoo_xfrm( int table, int depth, int seed );