chiark / gitweb /
login: fix pos-array allocation
authorDavid Herrmann <dh.herrmann@gmail.com>
Tue, 25 Feb 2014 11:20:25 +0000 (12:20 +0100)
committerDavid Herrmann <dh.herrmann@gmail.com>
Tue, 25 Feb 2014 11:22:31 +0000 (12:22 +0100)
GREEDY_REALLOC takes a pointer to the real size, not the array-width as
argument. Therefore, our array is currently way to small to keep the seat
positions.

Introduce GREEDY_REALLOC0_T() as typed version of GREEDY_REALLOC and store
the array-width instead of array-size.


No differences found