• Christian Hesse's avatar
    fix calloc() calls · e8970b6f
    Christian Hesse authored
    * size_t nmemb (number of elements) first, then size_t size
    * do not assume char is size 1 but use sizeof()
    * allocate for char, not pointer to char (found by Michael McConville,
      fixes #261)
    e8970b6f
Header.c 5.71 KB