On 14/03/2016 16:32, Eric Blake wrote:
>> +    const size_t STACKBUF_SIZE = 2048;
>> +
>> +    uint8_t *buffer, *dynbuf = NULL;
>> +    uint8_t stackbuf[STACKBUF_SIZE];

Instead of using the "STACKBUF_SIZE" constant, you can use just
"stackbuf[2048]", and then use sizeof(stackbuf) below.  This is even
more future proof.

Paolo

Reply via email to