From 28d1a12970507987a1e064ec1f59e73c11e65b4e Mon Sep 17 00:00:00 2001 From: Octasic Inc Date: Fri, 2 Jun 2006 17:20:02 +0300 Subject: importing OCT612x-01.00-PR41 --- software/octdeviceapi/oct6100api/oct6100_channel_priv.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'software/octdeviceapi/oct6100api/oct6100_channel_priv.h') diff --git a/software/octdeviceapi/oct6100api/oct6100_channel_priv.h b/software/octdeviceapi/oct6100api/oct6100_channel_priv.h index c950422..effa5f7 100644 --- a/software/octdeviceapi/oct6100api/oct6100_channel_priv.h +++ b/software/octdeviceapi/oct6100api/oct6100_channel_priv.h @@ -25,9 +25,9 @@ You should have received a copy of the GNU General Public License along with the OCT6100 GPL API; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. -$Octasic_Release: OCT612xAPI-01.00-PR40 $ +$Octasic_Release: OCT612xAPI-01.00-PR41 $ -$Octasic_Revision: 61 $ +$Octasic_Revision: 62 $ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ @@ -42,22 +42,22 @@ $Octasic_Revision: 61 $ /* ECHO channel list pointer macros. */ #define mOCT6100_GET_CHANNEL_LIST_PNT( pSharedInfo, pList ) \ - pList = ( tPOCT6100_API_CHANNEL )(( UINT32 )pSharedInfo + pSharedInfo->ulChannelListOfst ); + pList = ( tPOCT6100_API_CHANNEL )(( PUINT8 )pSharedInfo + pSharedInfo->ulChannelListOfst ); #define mOCT6100_GET_CHANNEL_ENTRY_PNT( pSharedInfo, pEntry, ulIndex ) \ - pEntry = (( tPOCT6100_API_CHANNEL )(( UINT32 )pSharedInfo + pSharedInfo->ulChannelListOfst)) + ulIndex; + pEntry = (( tPOCT6100_API_CHANNEL )(( PUINT8 )pSharedInfo + pSharedInfo->ulChannelListOfst)) + ulIndex; #define mOCT6100_GET_CHANNEL_ALLOC_PNT( pSharedInfo, pAlloc ) \ - pAlloc = ( PVOID )(( UINT32 )pSharedInfo + pSharedInfo->ulChannelAllocOfst); + pAlloc = ( PVOID )(( PUINT8 )pSharedInfo + pSharedInfo->ulChannelAllocOfst); #define mOCT6100_GET_BIDIR_CHANNEL_LIST_PNT( pSharedInfo, pList ) \ - pList = ( tPOCT6100_API_BIDIR_CHANNEL )(( UINT32 )pSharedInfo + pSharedInfo->ulBiDirChannelListOfst ); + pList = ( tPOCT6100_API_BIDIR_CHANNEL )(( PUINT8 )pSharedInfo + pSharedInfo->ulBiDirChannelListOfst ); #define mOCT6100_GET_BIDIR_CHANNEL_ENTRY_PNT( pSharedInfo, pEntry, ulIndex ) \ - pEntry = (( tPOCT6100_API_BIDIR_CHANNEL )(( UINT32 )pSharedInfo + pSharedInfo->ulBiDirChannelListOfst)) + ulIndex; + pEntry = (( tPOCT6100_API_BIDIR_CHANNEL )(( PUINT8 )pSharedInfo + pSharedInfo->ulBiDirChannelListOfst)) + ulIndex; #define mOCT6100_GET_BIDIR_CHANNEL_ALLOC_PNT( pSharedInfo, pAlloc ) \ - pAlloc = ( PVOID )(( UINT32 )pSharedInfo + pSharedInfo->ulBiDirChannelAllocOfst ); + pAlloc = ( PVOID )(( PUINT8 )pSharedInfo + pSharedInfo->ulBiDirChannelAllocOfst ); /***************************** TYPES ***************************************/ -- cgit v1.2.3