/** Retrieve a pointer to a PaStreamInfo structure containing information
about the specified stream.
@return A pointer to an immutable PaStreamInfo structure. If the stream
- parameter invalid, or an error is encountered, the function returns NULL.
+ parameter is invalid, or an error is encountered, the function returns NULL.
@param stream A pointer to an open stream previously created with Pa_OpenStream.
{
/* Append I/O suffix to WAVE_MAPPER device. */
deviceName = (char *)PaUtil_GroupAllocateMemory(
- winMmeHostApi->allocations, StrTLen( wic.szPname ) + 1 + sizeof(constInputMapperSuffix_) );
+ winMmeHostApi->allocations,
+ (long) (StrTLen( wic.szPname ) + 1 + sizeof(constInputMapperSuffix_)) );
if( !deviceName )
{
result = paInsufficientMemory;
else
{
deviceName = (char*)PaUtil_GroupAllocateMemory(
- winMmeHostApi->allocations, StrTLen( wic.szPname ) + 1 );
+ winMmeHostApi->allocations,
+ (long) (StrTLen( wic.szPname ) + 1) );
if( !deviceName )
{
result = paInsufficientMemory;
{
/* Append I/O suffix to WAVE_MAPPER device. */
deviceName = (char *)PaUtil_GroupAllocateMemory(
- winMmeHostApi->allocations, StrTLen( woc.szPname ) + 1 + sizeof(constOutputMapperSuffix_) );
+ winMmeHostApi->allocations,
+ (long) (StrTLen( woc.szPname ) + 1 + sizeof(constOutputMapperSuffix_)) );
if( !deviceName )
{
result = paInsufficientMemory;
else
{
deviceName = (char*)PaUtil_GroupAllocateMemory(
- winMmeHostApi->allocations, StrTLen( woc.szPname ) + 1 );
+ winMmeHostApi->allocations,
+ (long) (StrTLen( woc.szPname ) + 1) );
if( !deviceName )
{
result = paInsufficientMemory;