Closed thnkslprpt closed 7 months ago
Checklist
Describe the bug A few variables in CF could be updated to the more expressive size_t or CF_ChunkSize_t types
size_t
CF_ChunkSize_t
Code snips val should be of CF_ChunkSize_t type: https://github.com/nasa/CF/blob/0f18ae4b8f800afefdf60c97809c737289f46942/fsw/src/cf_cmd.h#L475
val
size should be of size_t type: https://github.com/nasa/CF/blob/0f18ae4b8f800afefdf60c97809c737289f46942/fsw/src/cf_cmd.c#L942-L947
size
...and few others.
Expected behavior Update where appropriate
Reporter Info Avi Weiss @thnkslprpt
Checklist
Describe the bug A few variables in CF could be updated to the more expressive
size_t
orCF_ChunkSize_t
typesCode snips
val
should be ofCF_ChunkSize_t
type: https://github.com/nasa/CF/blob/0f18ae4b8f800afefdf60c97809c737289f46942/fsw/src/cf_cmd.h#L475size
should be ofsize_t
type: https://github.com/nasa/CF/blob/0f18ae4b8f800afefdf60c97809c737289f46942/fsw/src/cf_cmd.c#L942-L947...and few others.
Expected behavior Update where appropriate
Reporter Info Avi Weiss @thnkslprpt