Mercurial > hg > CbC > CbC_gcc
diff libgcc/udivmodhi4.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 84e7813d76e9 |
children |
line wrap: on
line diff
--- a/libgcc/udivmodhi4.c Thu Oct 25 07:37:49 2018 +0900 +++ b/libgcc/udivmodhi4.c Thu Feb 13 11:34:05 2020 +0900 @@ -1,4 +1,4 @@ -/* Copyright (C) 2000-2018 Free Software Foundation, Inc. +/* Copyright (C) 2000-2020 Free Software Foundation, Inc. This file is part of GCC. @@ -27,7 +27,7 @@ unsigned short bit = 1; unsigned short res = 0; - while (den < num && bit && !(den & (1L<<31))) + while (den < num && bit && !(den & (1U<<15))) { den <<=1; bit <<=1;