Skip to content

Commit

Permalink
Merge pull request #2591 from pepepr08:fix-2590-printf-size_t
Browse files Browse the repository at this point in the history
Fix #2590, Use proper printf format for size_t
  • Loading branch information
dzbaker committed Aug 16, 2024
2 parents dab2f42 + 7e6504d commit 17a181c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/sb/fsw/src/cfe_sb_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -1398,7 +1398,7 @@ CFE_SB_Buffer_t *CFE_SB_AllocateMessageBuffer(size_t MsgSize)
if (MsgSize > CFE_MISSION_SB_MAX_SB_MSG_SIZE)
{
CFE_ES_GetAppName(AppName, AppId, sizeof(AppName));
CFE_ES_WriteToSysLog("%s %s: Failed, requested size %ld larger than allowed %d\n",
CFE_ES_WriteToSysLog("%s %s: Failed, requested size %zu larger than allowed %d\n",
AppName, __func__, MsgSize, CFE_MISSION_SB_MAX_SB_MSG_SIZE);
return NULL;
}
Expand Down

0 comments on commit 17a181c

Please sign in to comment.