bareos: master aa3c40cf

Author Committer Branch Timestamp Parent
arogge arogge master 2021-06-15 00:00 master 33f063b8 Pending
Changeset stored: fix big endianess issue in dir_cmd.cc

dir_cmd.cc uses scanf() to fill integers. As %hd is used, pointers to
(short int)* was expected, but int* was passed. While this works on
little endian, it breaks on big endian.
This patch now uses short int where applicable.
mod - core/src/stored/dir_cmd.cc Diff File