Skip to content

Commit

Permalink
Issue #770 - Change == 0 by == NULL
Browse files Browse the repository at this point in the history
  • Loading branch information
mluis1 committed May 18, 2020
1 parent f7179f5 commit f2323c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mac/LoRaMacCommands.c
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ LoRaMacCommandStatus_t LoRaMacCommandsAddCmd( uint8_t cid, uint8_t* payload, siz
// Allocate a memory slot
newCmd = MallocNewMacCommandSlot( );

if( newCmd == 0 )
if( newCmd == NULL )
{
return LORAMAC_COMMANDS_ERROR_MEMORY;
}
Expand Down

0 comments on commit f2323c0

Please sign in to comment.