mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 09:50:52 +00:00
winemp3.acm: Win64 printf format warning fixes.
This commit is contained in:
parent
5ecdbb1f85
commit
72ed451be7
2 changed files with 6 additions and 7 deletions
|
@ -4,7 +4,6 @@ SRCDIR = @srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
MODULE = winemp3.acm
|
MODULE = winemp3.acm
|
||||||
IMPORTS = winmm user32 kernel32
|
IMPORTS = winmm user32 kernel32
|
||||||
EXTRADEFS = -DWINE_NO_LONG_AS_INT
|
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
common.c \
|
common.c \
|
||||||
|
|
|
@ -181,7 +181,7 @@ static void mp3_horse(PACMDRVSTREAMINSTANCE adsi,
|
||||||
*ndst = dpos;
|
*ndst = dpos;
|
||||||
|
|
||||||
buffered_after = get_num_buffered_bytes(&amd->mp);
|
buffered_after = get_num_buffered_bytes(&amd->mp);
|
||||||
TRACE("before %ld put %ld during %ld after %ld\n", buffered_before, *nsrc, buffered_during, buffered_after);
|
TRACE("before %d put %d during %d after %d\n", buffered_before, *nsrc, buffered_during, buffered_after);
|
||||||
}
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
|
@ -243,7 +243,7 @@ static LRESULT MPEG3_FormatTagDetails(PACMFORMATTAGDETAILSW aftd, DWORD dwQuery)
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
WARN("Unsupported query %08lx\n", dwQuery);
|
WARN("Unsupported query %08x\n", dwQuery);
|
||||||
return MMSYSERR_NOTSUPPORTED;
|
return MMSYSERR_NOTSUPPORTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -320,12 +320,12 @@ static LRESULT MPEG3_FormatDetails(PACMFORMATDETAILSW afd, DWORD dwQuery)
|
||||||
fill_in_wfx(afd->cbwfx, afd->pwfx, 192000);
|
fill_in_wfx(afd->cbwfx, afd->pwfx, 192000);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
WARN("Unsupported tag %08lx\n", afd->dwFormatTag);
|
WARN("Unsupported tag %08x\n", afd->dwFormatTag);
|
||||||
return MMSYSERR_INVALPARAM;
|
return MMSYSERR_INVALPARAM;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
WARN("Unsupported query %08lx\n", dwQuery);
|
WARN("Unsupported query %08x\n", dwQuery);
|
||||||
return MMSYSERR_NOTSUPPORTED;
|
return MMSYSERR_NOTSUPPORTED;
|
||||||
}
|
}
|
||||||
afd->fdwSupport = ACMDRIVERDETAILS_SUPPORTF_CODEC;
|
afd->fdwSupport = ACMDRIVERDETAILS_SUPPORTF_CODEC;
|
||||||
|
@ -518,7 +518,7 @@ static LRESULT MPEG3_StreamSize(PACMDRVSTREAMINSTANCE adsi, PACMDRVSTREAMSIZE ad
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
WARN("Unsupported query %08lx\n", adss->fdwSize);
|
WARN("Unsupported query %08x\n", adss->fdwSize);
|
||||||
return MMSYSERR_NOTSUPPORTED;
|
return MMSYSERR_NOTSUPPORTED;
|
||||||
}
|
}
|
||||||
return MMSYSERR_NOERROR;
|
return MMSYSERR_NOERROR;
|
||||||
|
@ -539,7 +539,7 @@ static LRESULT MPEG3_StreamConvert(PACMDRVSTREAMINSTANCE adsi, PACMDRVSTREAMHEAD
|
||||||
ACM_STREAMCONVERTF_END|
|
ACM_STREAMCONVERTF_END|
|
||||||
ACM_STREAMCONVERTF_START))
|
ACM_STREAMCONVERTF_START))
|
||||||
{
|
{
|
||||||
FIXME("Unsupported fdwConvert (%08lx), ignoring it\n", adsh->fdwConvert);
|
FIXME("Unsupported fdwConvert (%08x), ignoring it\n", adsh->fdwConvert);
|
||||||
}
|
}
|
||||||
/* ACM_STREAMCONVERTF_BLOCKALIGN
|
/* ACM_STREAMCONVERTF_BLOCKALIGN
|
||||||
* currently all conversions are block aligned, so do nothing for this flag
|
* currently all conversions are block aligned, so do nothing for this flag
|
||||||
|
|
Loading…
Reference in a new issue