From ea9d4679038a5cc5ed8db058bbf05e9f084d983b Mon Sep 17 00:00:00 2001 From: proski Date: Tue, 2 Sep 2008 21:30:32 +0000 Subject: [PATCH] Warning fix for old Linux 2.6 for i386 av_beacon_alloc should be unsigned long, not unsigned int to match signatures of bitmask manupulation functions on i386. git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3856 0192ed92-7a03-0410-a25b-9323aeb14dbd --- ath/if_athvar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ath/if_athvar.h b/ath/if_athvar.h index e6b72ce..45708d7 100644 --- a/ath/if_athvar.h +++ b/ath/if_athvar.h @@ -537,7 +537,7 @@ struct ath_vap { atomic_t av_beacon_alloc; /* set to 1 when the next beacon needs to be recomputed */ #else - unsigned int av_beacon_alloc; + unsigned long av_beacon_alloc; #endif }; #define ATH_VAP(_v) ((struct ath_vap *)(_v)) -- 2.35.1