/* Check the buffers have not already been freed in the first of the\r
two Tx interrupts - which could potentially happen if the second Tx completed\r
during the interrupt for the first Tx. */\r
- if( g_mss_mac.tx_descriptors[ 0 ].buffer_1 != NULL )\r
+ if( g_mss_mac.tx_descriptors[ 0 ].buffer_1 != ( uint32_t ) NULL )\r
{\r
if( ( ( (g_mss_mac.tx_descriptors[ 0 ].descriptor_0) & TDES0_OWN) == 0 ) && ( ( (g_mss_mac.tx_descriptors[ 1 ].descriptor_0) & TDES0_OWN) == 0 ) )\r
{\r
MAC_release_buffer( ( unsigned char * ) g_mss_mac.tx_descriptors[ 0 ].buffer_1 );\r
\r
/* Just to mark the fact that the buffer has already been released. */\r
- g_mss_mac.tx_descriptors[ 0 ].buffer_1 == NULL;\r
+ g_mss_mac.tx_descriptors[ 0 ].buffer_1 = ( uint32_t ) NULL;\r
}\r
}\r
}\r