Skip to content

Commit

Permalink
Fix return type in AnomalousTrigger.h
Browse files Browse the repository at this point in the history
  • Loading branch information
garbear committed Oct 16, 2016
1 parent 54120ff commit 25c12ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/api/AnomalousTrigger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ int CAnomalousTrigger::GetCenter(AXIS_CENTER center)
return 0;
}

int CAnomalousTrigger::GetRange(TRIGGER_RANGE range)
unsigned int CAnomalousTrigger::GetRange(TRIGGER_RANGE range)
{
switch (range)
{
Expand Down
2 changes: 1 addition & 1 deletion src/api/AnomalousTrigger.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ namespace JOYSTICK
* \brief Helper functions
*/
static int GetCenter(AXIS_CENTER center);
static int GetRange(TRIGGER_RANGE range);
static unsigned int GetRange(TRIGGER_RANGE range);

const unsigned int m_axisIndex;
AXIS_STATE m_state;
Expand Down

0 comments on commit 25c12ee

Please sign in to comment.