initialization discards ‘const’ qualifier from pointer target type

Issue #70 resolved
Remi 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