| 1 |
Description: Hush a warning with a cast. |
| 2 |
Author: Tzafrir Cohen <[email protected]> |
| 3 |
|
| 4 |
--- a/bidiv.c |
| 5 |
+++ b/bidiv.c |
| 6 |
@@ -145,7 +145,7 @@ bidiv(FILE *fp) |
| 7 |
ungetc(c1, fp); |
| 8 |
fribidi_charset_to_unicode( |
| 9 |
FRIBIDI_CHAR_SET_ISO8859_8, |
| 10 |
- &c, 1, &unicode_in[len]); |
| 11 |
+ (char *)&c, 1, &unicode_in[len]); |
| 12 |
} else |
| 13 |
unicode_in[len]=((c & 037) << 6) + (c1 & 077); |
| 14 |
newline=0; |
| 15 |
@@ -158,7 +158,7 @@ bidiv(FILE *fp) |
| 16 |
as the output encoding). */ |
| 17 |
fribidi_charset_to_unicode( |
| 18 |
FRIBIDI_CHAR_SET_ISO8859_8, |
| 19 |
- &c, 1, &unicode_in[len]); |
| 20 |
+ (char *)&c, 1, &unicode_in[len]); |
| 21 |
#else |
| 22 |
in[len]=c; |
| 23 |
#endif |