From 9fdb3e2c2a124178e7cb36cb761175de04333291 Mon Sep 17 00:00:00 2001
From: Scott Giese <scttgs0@gmail.com>
Date: Fri, 19 Feb 2021 23:49:30 -0600
Subject: [PATCH] Maintenance: flite - type safety

address of struct containing union.  explicit cast to suppress warning.
---
 3rdparty/flite_hts_engine/flite/src/synth/cst_ffeatures.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/3rdparty/flite_hts_engine/flite/src/synth/cst_ffeatures.c b/3rdparty/flite_hts_engine/flite/src/synth/cst_ffeatures.c
index 701c671bd..9fd3e6c6a 100644
--- a/3rdparty/flite_hts_engine/flite/src/synth/cst_ffeatures.c
+++ b/3rdparty/flite_hts_engine/flite/src/synth/cst_ffeatures.c
@@ -235,9 +235,9 @@ const cst_val *cg_phone_rindex(const cst_item *p)
 const cst_val *cg_is_pau(const cst_item *p)
 {
     if (p && cst_streq("pau",item_feat_string(p,"name")))
-        return &val_int_1;
+        return VAL_INT_1;
     else
-        return &val_int_0;
+        return VAL_INT_0;
 }
 
 const cst_val *cg_find_phrase_number(const cst_item *p)
@@ -483,7 +483,7 @@ static const cst_val *word_punc(const cst_item *word)
     ww = item_as(word,"Token");
 
     if ((ww != NULL) && (item_next(ww) != 0))
-	v = &val_string_empty;
+	v = (cst_val *) &val_string_empty;
     else
 	v = ffeature(item_parent(ww),"punc");