bareos: bareos-19.2 b822ff4a

Author Committer Branch Timestamp Parent
arogge arogge bareos-19.2 2021-06-15 00:00 bareos-19.2 ef5fbfff 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.

(cherry picked from commit aa3c40cfda3abdcafeeb5e0a7ddf47a64129f547)
mod - core/src/stored/dir_cmd.cc Diff File