• Emmanuele Bassi's avatar
    jasper: Avoid a deprecation warning · 7eb29a1f
    Emmanuele Bassi authored
    The jas_stream_memopen() function uses any non-negative buffer size with
    a NULL buffer to signify that the buffer will be allocated internally
    and set to grow as needed. In the future, jas_stream_memopen() will be
    replaced by a function that takes a size_t instead of a signed integer.
    
    Passing -1 as the buffer size trips a run time deprecation warning, so
    we can just use 0 and keep compatibility between the old libjasper and
    newer versions.
    
    Closes: #73
    7eb29a1f
Name
Last commit
Last update
.gitlab/ci Loading commit data...
build-aux Loading commit data...
contrib/gdk-pixbuf-xlib Loading commit data...
docs Loading commit data...
gdk-pixbuf Loading commit data...
po Loading commit data...
tests Loading commit data...
thumbnailer Loading commit data...
.gitlab-ci.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
gdk-pixbuf.doap Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...