}
ANN static m_float basic_locale(m_str str) {
- const char base = basic_note(str[0]);
+ const int base = basic_note(str[0]);
if(base == -1) return -1;
str++;
char *remainder;
static MFUN(string_findStart) {
const m_str base = STRING(o);
const size_t sz = strlen(base);
- const char pos = *(m_int *)MEM(SZ_INT * 2);
+ const int pos = *(m_int *)MEM(SZ_INT * 2);
if (pos >= 0 && (size_t)pos < sz) {
const char arg = *(m_int *)MEM(SZ_INT);
char * str = strchr(base + pos, arg);
static MFUN(string_findStrStart) {
const m_str base = STRING(o);
const size_t sz = strlen(base);
- const char pos = *(m_int *)MEM(SZ_INT * 2);
+ const int pos = *(m_int *)MEM(SZ_INT * 2);
const M_Object obj = *(M_Object *)MEM(SZ_INT);
if (pos >= 0 && (size_t)pos < sz) {
const m_str arg = STRING(obj);
static MFUN(string_rfindStart) {
const m_str base = STRING(o);
const size_t sz = strlen(base);
- const char pos = *(m_int *)MEM(SZ_INT);
+ const int pos = *(m_int *)MEM(SZ_INT);
if (pos >= 0 && (size_t)pos < sz) {
const char arg = *(m_int *)MEM(SZ_INT * 2);
char * str = strrchr(base + pos, arg);