summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorMartin Roth <martin@coreboot.org>2019-10-23 21:41:00 -0600
committerMartin Roth <martinroth@google.com>2019-10-27 21:08:39 +0000
commit38ddbfb325866716c9c65a460e388f33d1a773dd (patch)
treeffc7469c60e0a94321cf96de2bd0c4928067849f /src/arch
parente74ca4ffc2008a93e38909a4d583408affbaf28a (diff)
downloadcoreboot-38ddbfb325866716c9c65a460e388f33d1a773dd.tar.xz
src/[arch-lib]: change "unsigned" to "unsigned int"
Signed-off-by: Martin Roth <martin@coreboot.org> Change-Id: Ibb7b48a7a144421aff29acbb7ac30968ae5fe5ab Reviewed-on: https://review.coreboot.org/c/coreboot/+/36329 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/arm/libgcc/udivmoddi4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/arm/libgcc/udivmoddi4.c b/src/arch/arm/libgcc/udivmoddi4.c
index a97f4ad34c..6073848fb2 100644
--- a/src/arch/arm/libgcc/udivmoddi4.c
+++ b/src/arch/arm/libgcc/udivmoddi4.c
@@ -17,7 +17,7 @@ uint64_t __udivmoddi4(uint64_t num, uint64_t den, uint64_t *rem_p)
{
uint64_t quot = 0, qbit = 1;
if (den == 0) {
- return 1 / ((unsigned)den); /* Intentional divide by zero, without
+ return 1 / ((unsigned int)den); /* Intentional divide by zero, without
triggering a compiler warning which
would abort the build */
}