From 48061bdbe79fdb216e86fdc41b126f21bbe95ee4 Mon Sep 17 00:00:00 2001 From: Dov Grobgeld Date: Fri, 1 Sep 2017 12:35:00 +0300 Subject: [PATCH] Fixed compilation errors. --- gen.tab/Makefile.am | 2 +- lib/fribidi-brackets.c | 3 ++- lib/fribidi-brackets.h | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gen.tab/Makefile.am b/gen.tab/Makefile.am index b5cfd9c..3d6fb59 100644 --- a/gen.tab/Makefile.am +++ b/gen.tab/Makefile.am @@ -125,7 +125,7 @@ brackets-type.tab.i: \ BidiBrackets.txt \ fribidi-unicode-version.h \ $(gen_brackets_type_tab_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) $(gen_brackets_tab) + $(MAKE) $(AM_MAKEFLAGS) $(gen_brackets_type_tab) ./$(gen_brackets_type_tab) $(COMPRESSION) $^ > $@ \ || ($(RM) $@ && false) diff --git a/lib/fribidi-brackets.c b/lib/fribidi-brackets.c index 651c9ca..8d53743 100644 --- a/lib/fribidi-brackets.c +++ b/lib/fribidi-brackets.c @@ -76,11 +76,12 @@ fribidi_get_bracket_types ( /* input */ const FriBidiChar *str, const FriBidiStrIndex len, - const FriBidiType *types, + const FriBidiCharType *types, /* output */ FriBidiBracketType *btypes ) { + const FriBidiBracketType NoBracket = FRIBIDI_NO_BRACKET; register FriBidiStrIndex i = len; for (; i; i--) { diff --git a/lib/fribidi-brackets.h b/lib/fribidi-brackets.h index e66a3f8..3e421f3 100644 --- a/lib/fribidi-brackets.h +++ b/lib/fribidi-brackets.h @@ -68,7 +68,7 @@ fribidi_get_bracket_types ( /* input */ const FriBidiChar *str, const FriBidiStrIndex len, - const FriBidiType *types, + const FriBidiCharType *types, /* output */ FriBidiBracketType *btypes ); -- 2.40.0