Closed sezero closed 1 year ago
Thanks for this! If you agree with my suggestion and update the PR, I'll bring it in.
I'd update the PR, but what is the suggestion?
I'd update the PR, but what is the suggestion?
For the src/pack_utils.c
change I think it would be better to change the char zero [1] = { 0 };
to just char zero = 0;
and leave the reference to it unchanged (i.e., &zero
). It doesn't need to be an array at all. Doesn't that make more sense?
For the
src/pack_utils.c
change I think it would be better to change thechar zero [1] = { 0 };
to justchar zero = 0;
and leave the reference to it unchanged (i.e.,&zero
). It doesn't need to be an array at all. Doesn't that make more sense?
Indeed. Updated and force-pushed the patch.
If you are interested in watcom compiler support, I have initial support in my branch at https://github.com/sezero/WavPack/tree/watcom-0 (library only, no client.)
fixes warnings from WatcomC (Open Watcom):