1. To avoid "losing precision" error:

-                            ? (long)array_typed1 > (long)array_typed1
+                            ? (intptr_t)array_typed1 >
(intptr_t)array_typed1



2.  Windows snprintf doesn't understand "g", but the special
__mingw_snprintf function does:

+#if defined(__MINGW32__)
+        do { __mingw_snprintf(c, 32, "%.*Lg", p++, q); endp=0; } while
(strtold(c, &endp) != q);
+#else
         do { snprintf(c, 32, "%.*Lg", p++, q); endp=0; } while (strtold(c,
&endp) != q);
+#endif

(http://stackoverflow.com/questions/4089174/printf-and-long-double)


Full patch:

http://users.notam02.no/~kjetism/generator.diff
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Faudiostream-devel mailing list
Faudiostream-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-devel

Reply via email to