freebsd-ports/audio/alsa-lib/files/patch-test_midifile.c
Mathieu Arnold 9fa9eb9ac7 Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-26 16:51:15 +00:00

20 lines
381 B
C

--- test/midifile.c.orig 2016-03-31 13:10:39 UTC
+++ test/midifile.c
@@ -71,7 +71,7 @@
#endif
#include <stdio.h>
-#include <values.h>
+#include <limits.h>
#include <string.h>
/*void exit(), free();*/
@@ -328,7 +328,7 @@ readtrack () /* read a track chunk */
if (Mf_interactive)
{
- Mf_toberead = MAXINT;
+ Mf_toberead = INT_MAX;
}
else
{