Fix build

This commit is contained in:
cam900 2022-12-04 20:02:59 +09:00
parent 2ec4237076
commit 18b87dcfaf
2 changed files with 4 additions and 4 deletions

View File

@ -458,13 +458,13 @@ class DivDispatch {
* get minimum chip clock. * get minimum chip clock.
* @return clock in Hz, or 0 if custom clocks are not supported. * @return clock in Hz, or 0 if custom clocks are not supported.
*/ */
virtual unsigned int getClockRangeMin(); virtual int getClockRangeMin();
/** /**
* get maximum chip clock. * get maximum chip clock.
* @return clock in Hz, or 0 if custom clocks are not supported. * @return clock in Hz, or 0 if custom clocks are not supported.
*/ */
virtual unsigned int getClockRangeMax(); virtual int getClockRangeMax();
/** /**
* set the chip flags. * set the chip flags.

View File

@ -97,11 +97,11 @@ bool DivDispatch::getWantPreNote() {
return false; return false;
} }
unsigned int DivDispatch::getClockRangeMin() { int DivDispatch::getClockRangeMin() {
return MIN_CUSTOM_CLOCK; return MIN_CUSTOM_CLOCK;
} }
unsigned int DivDispatch::getClockRangeMax() { int DivDispatch::getClockRangeMax() {
return MAX_CUSTOM_CLOCK; return MAX_CUSTOM_CLOCK;
} }