Minor change to hb_language_t

Let me know if this breaks anyone's anything.
This commit is contained in:
Behdad Esfahbod 2013-09-06 16:20:21 -04:00
parent 20cbc1f8eb
commit cd361c3cbe
2 changed files with 2 additions and 2 deletions

View File

@ -187,7 +187,7 @@ struct hb_language_item_t {
return *this;
}
void finish (void) { free (lang); }
void finish (void) { free ((void *) lang); }
};

View File

@ -131,7 +131,7 @@ hb_direction_to_string (hb_direction_t direction);
/* hb_language_t */
typedef struct hb_language_impl_t *hb_language_t;
typedef const struct hb_language_impl_t *hb_language_t;
/* len=-1 means str is NUL-terminated */
hb_language_t