Change stralloc functions because of compiler error (stralloc_pend.c:5:1: error: argument ‘i’ doesn’t match prototype)