Compile fix

This commit is contained in:
jgranick
2015-03-07 21:27:12 -08:00
parent e6eaec22f7
commit 9804f1970a
2 changed files with 6 additions and 6 deletions

View File

@@ -22,9 +22,9 @@ namespace lime {
private:
void *mBuffer;
int mDirection;
int mScript;
int mLanguage;
long mDirection;
long mScript;
long mLanguage;
};
@@ -32,4 +32,4 @@ namespace lime {
}
#endif
#endif

View File

@@ -14,7 +14,7 @@ namespace lime {
if (strlen (script) != 4) return;
mDirection = (hb_direction_t)direction;
mLanguage = (int)hb_language_from_string (language, strlen (language));
mLanguage = (long)hb_language_from_string (language, strlen (language));
mScript = hb_script_from_string (script, -1);
mBuffer = hb_buffer_create ();
@@ -84,4 +84,4 @@ namespace lime {
}
}
}