]> Repos - portaudio/commitdiff
patest_unplug.c: change int32_t to int (#553)
authorPhil Burk <philburk@mobileer.com>
Sat, 17 Apr 2021 19:56:16 +0000 (12:56 -0700)
committerGitHub <noreply@github.com>
Sat, 17 Apr 2021 19:56:16 +0000 (12:56 -0700)
To prevent compiler errors and to avoid controversy over
stdint.h vs inttypes.h.

Fixes #550

test/patest_unplug.c

index 0e4486e721e4dfd674c5882cd3d692f6669bca0d..f85463936a50eccbd45798fc00e72dd8c91d217e 100644 (file)
@@ -59,9 +59,9 @@
 typedef struct
 {
     short sine[TABLE_SIZE];
-    int32_t phases[MAX_CHANNELS];
-    int32_t numChannels;
-    int32_t sampsToGo;
+    int   phases[MAX_CHANNELS];
+    int   numChannels;
+    int   sampsToGo;
 }
 paTestData;