Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-gnome
Path: blob/main/audio/alsa-lib/files/patch-test_midifile.c
16125 views
1
--- test/midifile.c.orig 2016-03-31 13:10:39 UTC
2
+++ test/midifile.c
3
@@ -71,7 +71,7 @@
4
#endif
5
6
#include <stdio.h>
7
-#include <values.h>
8
+#include <limits.h>
9
10
#include <string.h>
11
/*void exit(), free();*/
12
@@ -328,7 +328,7 @@ readtrack () /* read a track chunk */
13
14
if (Mf_interactive)
15
{
16
- Mf_toberead = MAXINT;
17
+ Mf_toberead = INT_MAX;
18
}
19
else
20
{
21
22