int to unsigned int
fluxgen fluxgen
2 files changed,
4 insertions(+),
2 deletions(-)
M
src/Slit.cc
→
src/Slit.cc
@@ -19,6 +19,8 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// 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 @@
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)
M
src/Slit.hh
→
src/Slit.hh
@@ -80,7 +80,7 @@ private:
Slitmenu *slitmenu; protected: - virtual void itemSelected(int, int); + virtual void itemSelected(int button, unsigned int index); }; #endif // XINERAMA