OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
| 1 | Index: ase-0.8.2/src/widgets/groupbut.cpp |
| 2 | =================================================================== |
| 3 | --- ase-0.8.2.orig/src/widgets/groupbut.cpp 2010-11-28 18:47:26.000000000 +0100 |
| 4 | +++ ase-0.8.2/src/widgets/groupbut.cpp 2011-06-13 11:33:18.000000000 +0200 |
| 5 | @@ -101,7 +101,7 @@ |
| 6 | JWidget sel = find_selected(group); |
| 7 | |
| 8 | if (sel) |
| 9 | - return (int)sel->user_data[1]; |
| 10 | + return (long)sel->user_data[1]; |
| 11 | else |
| 12 | return -1; |
| 13 | } |
| 14 | @@ -110,7 +110,7 @@ |
| 15 | { |
| 16 | JWidget sel = find_selected(group); |
| 17 | |
| 18 | - if (!sel || (int)sel->user_data[1] != index) { |
| 19 | + if (!sel || (long)sel->user_data[1] != index) { |
| 20 | sel->setSelected(false); |
| 21 | select_button(group, index); |
| 22 | } |
| 23 | @@ -137,7 +137,7 @@ |
| 24 | JLink link; |
| 25 | |
| 26 | if (widget->type == JI_RADIO) { |
| 27 | - if ((int)widget->user_data[1] == index) { |
| 28 | + if ((long)widget->user_data[1] == index) { |
| 29 | widget->setSelected(true); |
| 30 | return true; |
| 31 | } |
| 32 |
