diff options
author | Ken Sharp <ken.sharp@artifex.com> | 2021-05-29 10:04:32 +0100 |
---|---|---|
committer | Ken Sharp <ken.sharp@artifex.com> | 2021-05-29 10:04:32 +0100 |
commit | 36e09729adad6b9dceca9ebfaca30d3980d1df40 (patch) | |
tree | f98502883be869d86847763ed70fa99fcfa8aada /base/sjpx_openjpeg.c | |
parent | a717276b18765b86c6f55749f559d210b63084d4 (diff) | |
download | ghostpdl-36e09729adad6b9dceca9ebfaca30d3980d1df40.tar.gz |
Vector devices - fix compiler warning
Bug #703866 "./devices/vector/gdevpdfd.c:447: warning: ‘gdev_vector_dopath_segment’ accessing 24 bytes in a region of size 8 [-Wstringop-overflow=]"
Benign warning. For the cases where we are passing a pointer to a single
fixed point number the type of operation only consumes a single
number. I'm not at all sure (and this code is > 20 years old) why the
original author chose to define it as a pointer to an array of 3.
This is very minor. However since we aim to keep compiler warnings to
a minimum it is addressed in this commit by changing the function
prototype.
Diffstat (limited to 'base/sjpx_openjpeg.c')
0 files changed, 0 insertions, 0 deletions