From: Dov Grobgeld <dov.grobgeld@gmail.com>
Date: Fri, 1 Sep 2017 09:35:00 +0000 (+0300)
Subject: Fixed compilation errors.
X-Git-Tag: v1.0.0~34
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=48061bdbe79fdb216e86fdc41b126f21bbe95ee4;p=fribidi

Fixed compilation errors.
---

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
 );