mirror of
https://github.com/ipxe/ipxe
synced 2026-02-28 03:11:18 +03:00
Use typeof(sizeof(...)) to define a size_t. This stops gcc complaining
about format errors for %zX arguments.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#ifndef STDINT_H
|
#ifndef STDINT_H
|
||||||
#define STDINT_H
|
#define STDINT_H
|
||||||
|
|
||||||
typedef unsigned long size_t;
|
typedef typeof(sizeof(int)) size_t;
|
||||||
typedef signed long ssize_t;
|
typedef signed long ssize_t;
|
||||||
typedef signed long off_t;
|
typedef signed long off_t;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user