Compile fix
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user