summaryrefslogtreecommitdiff
path: root/payloads/libpayload
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload')
-rw-r--r--payloads/libpayload/arch/arm/main.c2
-rw-r--r--payloads/libpayload/arch/arm64/main.c2
-rw-r--r--payloads/libpayload/arch/mips/main.c2
-rw-r--r--payloads/libpayload/arch/x86/main.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/payloads/libpayload/arch/arm/main.c b/payloads/libpayload/arch/arm/main.c
index cb2d242679..52c6162921 100644
--- a/payloads/libpayload/arch/arm/main.c
+++ b/payloads/libpayload/arch/arm/main.c
@@ -30,7 +30,7 @@
#include <exception.h>
#include <libpayload.h>
-unsigned int main_argc; /**< The argc value to pass to main() */
+int main_argc; /**< The argc value to pass to main() */
/** The argv value to pass to main() */
char *main_argv[MAX_ARGC_COUNT];
diff --git a/payloads/libpayload/arch/arm64/main.c b/payloads/libpayload/arch/arm64/main.c
index 593c40e9a1..9a9ae96226 100644
--- a/payloads/libpayload/arch/arm64/main.c
+++ b/payloads/libpayload/arch/arm64/main.c
@@ -31,7 +31,7 @@
#include <libpayload.h>
#include <arch/mmu.h>
-unsigned int main_argc; /**< The argc value to pass to main() */
+int main_argc; /**< The argc value to pass to main() */
/** The argv value to pass to main() */
char *main_argv[MAX_ARGC_COUNT];
diff --git a/payloads/libpayload/arch/mips/main.c b/payloads/libpayload/arch/mips/main.c
index b8c0c4d039..7a71f90fa6 100644
--- a/payloads/libpayload/arch/mips/main.c
+++ b/payloads/libpayload/arch/mips/main.c
@@ -17,7 +17,7 @@
#include <libpayload.h>
/* The argc value to pass to main() */
-unsigned int main_argc;
+int main_argc;
/* The argv value to pass to main() */
char *main_argv[MAX_ARGC_COUNT];
diff --git a/payloads/libpayload/arch/x86/main.c b/payloads/libpayload/arch/x86/main.c
index 4da0bba9f7..2e876f23e9 100644
--- a/payloads/libpayload/arch/x86/main.c
+++ b/payloads/libpayload/arch/x86/main.c
@@ -34,7 +34,7 @@
unsigned long loader_eax; /**< The value of EAX passed from the loader */
unsigned long loader_ebx; /**< The value of EBX passed from the loader */
-unsigned int main_argc; /**< The argc value to pass to main() */
+int main_argc; /**< The argc value to pass to main() */
/** The argv value to pass to main() */
char *main_argv[MAX_ARGC_COUNT];