SHA256
1
0
forked from pool/elilo
elilo/elilo-c99.patch
Marcus Meissner 3e5d681a2e Accepting request 1189763 from home:fkastl:gcc14
- Add elilo-c99.patch so that the package conforms to the C99
  standard and builds on i586 with GCC 14.

If the request is OK, please forward it to factory soon-ish so that
we can switch the default compiler.

OBS-URL: https://build.opensuse.org/request/show/1189763
OBS-URL: https://build.opensuse.org/package/show/Base:System/elilo?expand=0&rev=26
2024-08-01 19:46:31 +00:00

14 lines
577 B
Diff

Index: elilo-3.16-source/fs/netfs.c
===================================================================
--- elilo-3.16-source.orig/fs/netfs.c
+++ elilo-3.16-source/fs/netfs.c
@@ -55,7 +55,7 @@ typedef struct _netfs_fd {
CHAR8 *netbuf;
UINT64 netbuf_maxsize; /* currently allocated buffer */
- UINTN netbuf_size; /* number of bytes currently used in the buffer */
+ UINT64 netbuf_size; /* number of bytes currently used in the buffer */
UINT64 netbuf_pos; /* current position in the buffer */
BOOLEAN is_valid; /* avoid conflicting opens */
BOOLEAN netbuf_reuse;