mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 21:56:42 +00:00
lcdd: fix gcc-14 build
This commit is contained in:
parent
5df56b74ea
commit
0b387bf222
@ -141,7 +141,7 @@ index 0000000..56f9219
|
|||||||
+ p->gFlags = 0;
|
+ p->gFlags = 0;
|
||||||
+ p->gDisplayMode = VFD_MODE_NONE;
|
+ p->gDisplayMode = VFD_MODE_NONE;
|
||||||
+
|
+
|
||||||
+ if ((p->framebuf = (char *) calloc(1, p->height)) == NULL)
|
+ if ((p->framebuf = (char **) calloc(1, p->height)) == NULL)
|
||||||
+ {
|
+ {
|
||||||
+ report(RPT_CRIT, "Allocating memory for framebuffer Failed\n");
|
+ report(RPT_CRIT, "Allocating memory for framebuffer Failed\n");
|
||||||
+ return -1;
|
+ return -1;
|
||||||
@ -362,7 +362,7 @@ new file mode 100644
|
|||||||
index 0000000..0bb565c
|
index 0000000..0bb565c
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/server/drivers/led.c
|
+++ b/server/drivers/led.c
|
||||||
@@ -0,0 +1,1065 @@
|
@@ -0,0 +1,1066 @@
|
||||||
+/* File modified by Henrik Larsson 2007 to interface with LCDproc API
|
+/* File modified by Henrik Larsson 2007 to interface with LCDproc API
|
||||||
+ */
|
+ */
|
||||||
+
|
+
|
||||||
@ -394,6 +394,7 @@ index 0000000..0bb565c
|
|||||||
+#include "libvfd.h"
|
+#include "libvfd.h"
|
||||||
+#include "shared/report.h"
|
+#include "shared/report.h"
|
||||||
+#include "dm140.h"
|
+#include "dm140.h"
|
||||||
|
+#include "led.h"
|
||||||
+
|
+
|
||||||
+
|
+
|
||||||
+//**************************************************************
|
+//**************************************************************
|
||||||
|
Loading…
x
Reference in New Issue
Block a user