HomePhorge

Fix signedness of type of pointer passed to snprintf

Description

Fix signedness of type of pointer passed to snprintf

snprintf takes a char* but the var was a uint8_t, which is unsigned char*.

Suggested-by: gcc -Wpointer-sign
Suggested-by: https://github.com/csutils/csmock
See-also: https://github.com/pst-format/libpst/issues/6

Details

Provenance
Paul Wise <pabs3@bonedaddy.net>Authored on Aug 20 2023, 8:51 AM
mollekopfPushed on Sep 3 2024, 2:20 PM
Parents
rLIBPST7273ec8c672e: Handle errors when reading data
Branches
Unknown
Tags
Unknown
Build Status
Buildable 50157