From: Reinette Chatre Date: Fri, 2 Oct 2009 20:44:07 +0000 (-0700) Subject: iwlagn: fix compile warning in iwl5000_gain_computation X-Git-Tag: v2.6.32-rc5~13^2~32^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=886e71de1f889adadb1065b1a83b0e64625fb716;p=pandora-kernel.git iwlagn: fix compile warning in iwl5000_gain_computation The return type of abs() was recently changed from int to long. With min()'s type checking we thus need to make sure that values of the same type are compared. This fixes: CC [M] drivers/net/wireless/iwlwifi/iwl-5000.o drivers/net/wireless/iwlwifi/iwl-5000.c: In function ‘iwl5000_gain_computation’: drivers/net/wireless/iwlwifi/iwl-5000.c:320: warning: comparison of distinct pointer types lacks a cast Signed-off-by: Reinette Chatre Reported-by: Marcel Holtmann Signed-off-by: John W. Linville --- Reading git-diff-tree failed