Commit graph

3 commits

Author SHA1 Message Date
maya
65fbaa2a1e libaudiofile: fix the second UB in the same line of code, cstatic which
isn't actually a cstatic. switch to just defining it in the accessor.
GCC optimized this UB away leading to an undefined reference in the builds.

Also use a function which is right for int32 too (same as upstream)

Thanks joerg for the help
2016-12-19 00:14:43 +00:00
maya
e9dfd30558 libaudiofile: different way of doing the same operation, it's unclear
to me why it fails for others, but maybe this one works.
2016-12-18 23:40:22 +00:00
maya
3f53af93dc libaudiofile: attempt to fix Ubuntu build which is failing due to UB in code
Switch left shift of negative operand with functionally equivalent and
well-defined function.
2016-12-17 16:40:31 +00:00