[coreboot-gerrit] New patch to review for coreboot: libpayload: Add ptrdiff_t typedef

Patrick Georgi (pgeorgi@google.com) gerrit at coreboot.org
Fri Oct 16 15:07:42 CEST 2015


Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/11922

-gerrit

commit 87af9b1ff7e138332d189b1b8bd4a1478c92c916
Author: Patrick Georgi <pgeorgi at google.com>
Date:   Fri Oct 16 15:07:15 2015 +0200

    libpayload: Add ptrdiff_t typedef
    
    vboot2 in payloads (eg depthcharge) needs it.
    
    Change-Id: I4e79ae29cc282c8680f21686befd35c4ff461b3a
    Signed-off-by: Patrick Georgi <pgeorgi at google.com>
---
 payloads/libpayload/include/stdint.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/payloads/libpayload/include/stdint.h b/payloads/libpayload/include/stdint.h
index dbdcbb8..b5c233c 100644
--- a/payloads/libpayload/include/stdint.h
+++ b/payloads/libpayload/include/stdint.h
@@ -38,6 +38,7 @@ typedef unsigned long long uintmax_t;
 typedef unsigned long uintptr_t;
 typedef long intptr_t;
 
+typedef long ptrdiff_t;
 
 #define INT8_MAX	(127)
 #define INT16_MAX	(32767)



More information about the coreboot-gerrit mailing list