mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-02-07 04:06:06 -05:00
replace <values.h> -> <limits.h> and fix K&R style related warning
This commit is contained in:
parent
c44f485572
commit
e842533f83
1 changed files with 3 additions and 3 deletions
|
|
@ -71,7 +71,7 @@
|
|||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <values.h>
|
||||
#include <limits.h>
|
||||
|
||||
#include <string.h>
|
||||
/*void exit(), free();*/
|
||||
|
|
@ -148,7 +148,7 @@ static void msginit ();
|
|||
static int msgleng ();
|
||||
static void msgadd ();
|
||||
static void biggermsg ();
|
||||
static int eputc (unsigned char c);
|
||||
static int eputc ();
|
||||
|
||||
double mf_ticks2sec (unsigned long ticks, int division, unsigned long tempo);
|
||||
int mf_write_meta_event ();
|
||||
|
|
@ -328,7 +328,7 @@ readtrack () /* read a track chunk */
|
|||
|
||||
if (Mf_interactive)
|
||||
{
|
||||
Mf_toberead = MAXINT;
|
||||
Mf_toberead = INT_MAX;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue