int to unsigned int
This commit is contained in:
parent
1ab9ee4954
commit
d496d26c1a
2 changed files with 4 additions and 2 deletions
|
@ -19,6 +19,8 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
// DEALINGS IN THE SOFTWARE.
|
||||
|
||||
// $Id: Slit.cc,v 1.11 2002/04/08 18:58:27 fluxgen Exp $
|
||||
|
||||
//use GNU extensions
|
||||
#ifndef _GNU_SOURCE
|
||||
#define _GNU_SOURCE
|
||||
|
@ -899,7 +901,7 @@ Slitmenu::Headmenu::Headmenu(Slitmenu *sm)
|
|||
update();
|
||||
}
|
||||
|
||||
void Slitmenu::Headmenu::itemSelected(int button, int index) {
|
||||
void Slitmenu::Headmenu::itemSelected(int button, unsigned int index) {
|
||||
if (button == 1) {
|
||||
BasemenuItem *item = find(index);
|
||||
if (! item)
|
||||
|
|
|
@ -80,7 +80,7 @@ private:
|
|||
Slitmenu *slitmenu;
|
||||
|
||||
protected:
|
||||
virtual void itemSelected(int, int);
|
||||
virtual void itemSelected(int button, unsigned int index);
|
||||
|
||||
};
|
||||
#endif // XINERAMA
|
||||
|
|
Loading…
Reference in a new issue