summaryrefslogtreecommitdiff
path: root/host/lib/include/crossystem_arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/include/crossystem_arch.h')
-rw-r--r--host/lib/include/crossystem_arch.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/host/lib/include/crossystem_arch.h b/host/lib/include/crossystem_arch.h
index 4044c749..50198b07 100644
--- a/host/lib/include/crossystem_arch.h
+++ b/host/lib/include/crossystem_arch.h
@@ -8,6 +8,8 @@
#ifndef VBOOT_REFERENCE_CROSSYSTEM_ARCH_H_
#define VBOOT_REFERENCE_CROSSYSTEM_ARCH_H_
+#include <stddef.h>
+
#include "vboot_nvstorage.h"
#include "vboot_struct.h"
@@ -76,7 +78,7 @@ int VbGetArchPropertyInt(const char* name);
* will be truncated.
*
* Returns the passed buffer, or NULL if error. */
-const char* VbGetArchPropertyString(const char* name, char* dest, int size);
+const char* VbGetArchPropertyString(const char* name, char* dest, size_t size);
/* Set an architecture-specific system property integer.
*