API: Fix compilation warnings in api_examples/demo.c.

Signed-off-by: Rafal Czubak <rcz@semihalf.com>
1 file changed