From f49e9a285ff91cbed81e84255d3cffe9aeaca5db Mon Sep 17 00:00:00 2001 From: Dick Hollenbeck Date: Mon, 19 May 2014 17:27:09 -0500 Subject: [PATCH] fix compiler warnings --- pcbnew/tools/common_actions.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pcbnew/tools/common_actions.cpp b/pcbnew/tools/common_actions.cpp index 539de05ceb..2a6aa25305 100644 --- a/pcbnew/tools/common_actions.cpp +++ b/pcbnew/tools/common_actions.cpp @@ -208,11 +208,11 @@ TOOL_ACTION COMMON_ACTIONS::layerAlphaDec( "pcbnew.layerAlphaDec", // Grid control TOOL_ACTION COMMON_ACTIONS::gridFast1( "pcbnew.gridFast1", - AS_GLOBAL, MD_ALT + '1', + AS_GLOBAL, MD_ALT + int( '1' ), "", "" ); TOOL_ACTION COMMON_ACTIONS::gridFast2( "pcbnew.gridFast2", - AS_GLOBAL, MD_ALT + '2', + AS_GLOBAL, MD_ALT + int( '2' ), "", "" ); TOOL_ACTION COMMON_ACTIONS::gridNext( "pcbnew.gridNext", @@ -220,7 +220,7 @@ TOOL_ACTION COMMON_ACTIONS::gridNext( "pcbnew.gridNext", "", "" ); TOOL_ACTION COMMON_ACTIONS::gridPrev( "pcbnew.gridPrev", - AS_GLOBAL, MD_CTRL + '`', + AS_GLOBAL, MD_CTRL + int( '`' ), "", "" ); @@ -249,7 +249,7 @@ TOOL_ACTION COMMON_ACTIONS::resetCoords( "pcbnew.resetCoords", "", "" ); TOOL_ACTION COMMON_ACTIONS::switchUnits( "pcbnew.switchUnits", - AS_GLOBAL, MD_CTRL + 'U', + AS_GLOBAL, MD_CTRL + int( 'U' ), "", "" ); TOOL_ACTION COMMON_ACTIONS::showHelp( "pcbnew.showHelp",