1. libgd
  2. Untitled project
  3. gd-libgd

Issues

Issue #70 resolved

initialization discards ‘const’ qualifier from pointer target type

Remi Collet
created an issue

Build of latest master raises a lot of warning

 initialization discards ‘const’ qualifier from pointer target type

I think we should drop the "const" from alloc function helpers.

    void *gdCalloc (size_t nmemb, size_t size);
    void *gdMalloc (size_t size);
    void *gdRealloc (void *ptr, size_t size);
    void *gdReallocEx (void *ptr, size_t size);

Comments (5)

  1. Log in to comment