From 6c52d763eb9f6887ce7d09bb3b5913c80a816674 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Tue, 16 Jan 2007 04:35:14 +0000 Subject: const-ify the parts of the API that deal with firmware image blobs git-svn-id: http://svn.asterisk.org/svn/octasic_api/oct612x/trunk@16 537310ab-6354-42db-a3cc-247b777f7be6 --- .../octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c') diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c index 3a07704..54727d2 100644 --- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c +++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c @@ -2686,7 +2686,7 @@ UINT32 Oct6100ApiLoadImage( UINT32 ulTempPtr; UINT32 ulNumWrites; PUINT16 pusSuperArray; - PUINT8 pbyImageFile; + unsigned char const *pbyImageFile; UINT32 ulByteCount = 0; UINT16 usReadData; UINT32 ulAddressOfst; @@ -4975,11 +4975,11 @@ UINT32 Oct6100ApiInitToneInfo( { UINT32 ulResult; - PUINT8 pszToneInfoStart = NULL; - PUINT8 pszToneInfoEnd = NULL; + unsigned char const *pszToneInfoStart = NULL; + unsigned char const *pszToneInfoEnd = NULL; - PUINT8 pszCurrentInfo; - PUINT8 pszNextInfo; + unsigned char const *pszCurrentInfo; + unsigned char const *pszNextInfo; UINT32 ulToneEventNumber; UINT32 ulTempValue; -- cgit v1.2.3