diff options
author | feliwir <stephan.vedder@gmail.com> | 2015-05-19 11:46:37 +0200 |
---|---|---|
committer | Grigori Goronzy <greg@chown.ath.cx> | 2015-07-10 10:42:40 +0200 |
commit | 29fd129671bb66a2e54717ca666b6ccd7f7ee941 (patch) | |
tree | d9bf30c9deed976780b923e9655fdd20af59f906 /libass/ass_utils.h | |
parent | efcb9c17e8da4f09f1aea795f081aebd9a04e8e2 (diff) | |
download | libass-29fd129671bb66a2e54717ca666b6ccd7f7ee941.tar.bz2 libass-29fd129671bb66a2e54717ca666b6ccd7f7ee941.tar.xz |
directwrite: add initial fontselect implementation
Incomplete, leaks memory, but capable of rendering something.
Diffstat (limited to 'libass/ass_utils.h')
-rw-r--r-- | libass/ass_utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libass/ass_utils.h b/libass/ass_utils.h index f249bc9a..caff1615 100644 --- a/libass/ass_utils.h +++ b/libass/ass_utils.h @@ -184,7 +184,7 @@ static inline int rot_key(double a) static inline unsigned fnv_32a_buf(void *buf, size_t len, unsigned hval) { - unsigned char *bp = buf; + unsigned char *bp = (unsigned char*)buf; size_t n = (len + 3) / 4; switch (len % 4) { |