summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c4
-rw-r--r--drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c b/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c
index 26eaa1b..caefd6e 100644
--- a/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c
+++ b/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c
@@ -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;
diff --git a/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c b/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c
index 16bf036..776c6d9 100644
--- a/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c
+++ b/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c
@@ -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;