-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #390, Update size variables to size_t
and CF_ChunkSize_t
typedefs
#391
Fix #390, Update size variables to size_t
and CF_ChunkSize_t
typedefs
#391
Conversation
95ac14c
to
beaf93b
Compare
beaf93b
to
4068927
Compare
fsw/src/cf_crc.c
Outdated
@@ -50,9 +50,9 @@ | |||
* See description in cf_crc.h for argument/return detail | |||
* | |||
*-----------------------------------------------------------------*/ | |||
void CF_CRC_Digest(CF_Crc_t *c, const uint8 *data, int len) | |||
void CF_CRC_Digest(CF_Crc_t *c, const uint8 *data, size_t len) |
Check notice
Code scanning / CodeQL
Long function without assertion
4068927
to
13bfde8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple issues in here ... otherwise looks good I think
13bfde8
to
602fe52
Compare
@@ -941,7 +941,7 @@ | |||
struct | |||
{ | |||
void * ptr; | |||
uint32 size; | |||
size_t size; |
Check notice
Code scanning / CodeQL
Function too long Note
@@ -941,7 +941,7 @@ | |||
struct | |||
{ | |||
void * ptr; | |||
uint32 size; | |||
size_t size; |
Check notice
Code scanning / CodeQL
Long function without assertion Note
@@ -50,9 +50,9 @@ | |||
* See description in cf_crc.h for argument/return detail | |||
* | |||
*-----------------------------------------------------------------*/ | |||
void CF_CRC_Digest(CF_Crc_t *crc, const uint8 *data, int len) | |||
void CF_CRC_Digest(CF_Crc_t *crc, const uint8 *data, size_t len) |
Check notice
Code scanning / CodeQL
Long function without assertion Note
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
602fe52
to
5f768d4
Compare
Checklist
Describe the contribution
size_t
orCF_ChunkSize_t
#390Testing performed
GitHub CI actions all passing successfully (incl. Build + Run, Unit/Functional Tests etc.).
Expected behavior changes
No change to behavior.
Contributor Info
Avi Weiss @thnkslprpt