shithub: flite

Download patch

ref: 1be6e96f18e4cfa572d56851ad1ff14ac345e426
parent: 56ac2b4a345d78c0c8637f5f1cfc67d0cb1631e4
author: Alan W Black <awb@cs.cmu.edu>
date: Tue Jul 7 13:28:43 EDT 2020

fix warnings

--- a/src/wavesynth/cst_units.c
+++ b/src/wavesynth/cst_units.c
@@ -586,7 +586,7 @@
 			int unit_size, const unsigned char *unit_residual)
 {
     int i,m;
-#if defined(__x86_64__)
+#if (defined(__x86_64__) || defined(_M_X64))
     long long p;
     /* Unit residual isn't a pointer its a number, the power for the 
        the sts, yes this is hackily casting the address to a number */