Browse Source

changes uint to unsigned int

pull/103/head
eggix 4 years ago
parent
commit
9e371fd53d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Marbles.cpp

+ 1
- 1
src/Marbles.cpp View File

@@ -528,7 +528,7 @@ struct Marbles : Module {
y.deja_vu = 0.0f; y.deja_vu = 0.0f;
y.length = 1; y.length = 1;


uint index = (uint) (params[Y_RATE_PARAM].getValue() * LENGTHOF(y_divider_ratios));
unsigned int index = (unsigned int) (params[Y_RATE_PARAM].getValue() * LENGTHOF(y_divider_ratios));
if (index < LENGTHOF(y_divider_ratios)) if (index < LENGTHOF(y_divider_ratios))
y_divider_index = index; y_divider_index = index;
y.ratio = y_divider_ratios[y_divider_index]; y.ratio = y_divider_ratios[y_divider_index];


Loading…
Cancel
Save