oct612x: Eliminate some compiler warnings.
Eliminate "large integer implicitly truncated to unsigned type" warnings from r10010. Signed-off-by: Shaun Ruffell <sruffell@digium.com> Acked-by: Doug Bailey <dbailey@digium.com> Acked-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10024 a0bf4364-ded3-4de4-8d8a-66a801d63aff
This commit is contained in:
parent
45e5b324d0
commit
08d6076e38
@ -2759,8 +2759,8 @@ UINT32 Oct6100ApiUpdateChannelEntry(
|
||||
/* Index 0 contain event 0 to 31 (msb = event 31) and Index 1 contain index 32 - 55 */
|
||||
pChanEntry->aulToneConf[ 0 ] = 0;
|
||||
pChanEntry->aulToneConf[ 1 ] = 0;
|
||||
pChanEntry->ulLastSSToneDetected = cOCT6100_INVALID_VALUE;
|
||||
pChanEntry->ulLastSSToneTimestamp = cOCT6100_INVALID_VALUE;
|
||||
pChanEntry->ulLastSSToneDetected = (PTR_TYPE)cOCT6100_INVALID_VALUE;
|
||||
pChanEntry->ulLastSSToneTimestamp = (PTR_TYPE)cOCT6100_INVALID_VALUE;
|
||||
|
||||
/* Initialize the bidirectional flag.*/
|
||||
pChanEntry->fBiDirChannel = FALSE;
|
||||
|
@ -718,8 +718,8 @@ UINT32 Oct6100ApiTransferToneEvents(
|
||||
break;
|
||||
case 2:
|
||||
/* This is the "STOP" event, invalidate the last value. The user does not want to know about this. */
|
||||
pEchoChannel->ulLastSSToneDetected = cOCT6100_INVALID_VALUE;
|
||||
pEchoChannel->ulLastSSToneTimestamp = cOCT6100_INVALID_VALUE;
|
||||
pEchoChannel->ulLastSSToneDetected = (PTR_TYPE)cOCT6100_INVALID_VALUE;
|
||||
pEchoChannel->ulLastSSToneTimestamp = (PTR_TYPE)cOCT6100_INVALID_VALUE;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
@ -860,8 +860,8 @@ UINT32 Oct6100ApiTransferToneEvents(
|
||||
break;
|
||||
case 2:
|
||||
/* This is the "STOP" event, invalidate the last value. The user does not want to know about this. */
|
||||
pEchoChannel->ulLastSSToneDetected = cOCT6100_INVALID_VALUE;
|
||||
pEchoChannel->ulLastSSToneTimestamp = cOCT6100_INVALID_VALUE;
|
||||
pEchoChannel->ulLastSSToneDetected = (PTR_TYPE)cOCT6100_INVALID_VALUE;
|
||||
pEchoChannel->ulLastSSToneTimestamp = (PTR_TYPE)cOCT6100_INVALID_VALUE;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user