summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>2010-10-01 13:43:54 -0700
committerInaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>2010-10-02 00:28:23 -0700
commitd1538bee65884a94d884c25415381b89d53ef5a2 (patch)
tree04294ad94ac237af5876cadfb917fddee2ba21fc
parent752e4ee62e84e089fdfb5c3ea78718897783628b (diff)
cleanup: remove warnings caused by typing of SendIndicationToSubscribers()
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
-rw-r--r--InfraStack/OSAgnostic/Common/L5Common/IndicatorsSubscribers.c3
-rw-r--r--InfraStack/OSAgnostic/Common/L5Common/IndicatorsSubscribers.h4
2 files changed, 4 insertions, 3 deletions
diff --git a/InfraStack/OSAgnostic/Common/L5Common/IndicatorsSubscribers.c b/InfraStack/OSAgnostic/Common/L5Common/IndicatorsSubscribers.c
index 3b907f3..f6d3067 100644
--- a/InfraStack/OSAgnostic/Common/L5Common/IndicatorsSubscribers.c
+++ b/InfraStack/OSAgnostic/Common/L5Common/IndicatorsSubscribers.c
@@ -147,8 +147,9 @@ EXPORT BOOL Indications_RemoveSubscriber(IndicatorSubscribers *indSubscribers, U
// This function go over the specific list (L4 SS or status SS) and send all its registered targets the indication.
// Can be used as the InternalHandler with Messenger_PostRequest
-EXPORT void SendIndicationToSubscribers( UINT32 internalRequestID, SendIndData *buffer, UINT32 bufferLength )
+EXPORT void SendIndicationToSubscribers( UINT32 internalRequestID, void *_buffer, UINT32 bufferLength )
{
+ SendIndData *buffer = _buffer;
ListItem* handle;
L5_TARGET_ID targetID;
ULONG_PTR data;
diff --git a/InfraStack/OSAgnostic/Common/L5Common/IndicatorsSubscribers.h b/InfraStack/OSAgnostic/Common/L5Common/IndicatorsSubscribers.h
index 667608e..f83879e 100644
--- a/InfraStack/OSAgnostic/Common/L5Common/IndicatorsSubscribers.h
+++ b/InfraStack/OSAgnostic/Common/L5Common/IndicatorsSubscribers.h
@@ -57,7 +57,7 @@ EXPORT IndicatorSubscribers *GetIndicatorSubscribers(List *pList, UINT32 indicat
EXPORT void AllocIndicatorsList(List **ppList);
EXPORT void EmptyIndicatorsList(List **ppList);
EXPORT void CleanIndicatorsList(List **ppList);
-EXPORT void SendIndicationToSubscribers( UINT32 indication_id, SendIndData *pSendIndicationData, UINT32 sendIndicationDataLength );
+EXPORT void SendIndicationToSubscribers( UINT32 indication_id, void *pSendIndicationData, UINT32 sendIndicationDataLength );
-#endif //INDICATIONS_SUBSCRIBERS_DEFINE \ No newline at end of file
+#endif //INDICATIONS_SUBSCRIBERS_DEFINE