hd44780-rpi.c: Get rid of non-standard pointer type

The old code didn't compile against musl libc (OpenWRT).

Compiletested on ARM.

Signed-off-by: Harald Geyer <harald@ccbib.org>
This commit is contained in:
Harald Geyer
2016-07-25 12:44:31 +02:00
parent 63568547d9
commit f73d2aca1e
+1 -1
View File
@@ -285,7 +285,7 @@ lcdrpi_HD44780_close(PrivateData *p)
/* Unmap and free memory */
if (gpio_map != NULL)
munmap((caddr_t) gpio_map, GPIO_BLOCK_SIZE);
munmap((void *) gpio_map, GPIO_BLOCK_SIZE);
if (p->rpi_gpio != NULL)
free(p->rpi_gpio);
p->rpi_gpio = NULL;