X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=common%2Fcmd_itest.c;h=76af62b46ee274841a65c0eb8f040d75aa2ad02b;hb=1bb6744cafe3a5fa1cc67e85f84709e0745df79c;hp=ae2527bfecdb8e2d55ad211bf6de6715a922f752;hpb=06109f498faeae023f30254ed145030458ef1c41;p=karo-tx-uboot.git diff --git a/common/cmd_itest.c b/common/cmd_itest.c index ae2527bfec..76af62b46e 100644 --- a/common/cmd_itest.c +++ b/common/cmd_itest.c @@ -63,7 +63,7 @@ static long evalexp(char *s, int w) l = simple_strtoul(s, NULL, 16); } - return (l & ((1 << (w * 8)) - 1)); + return l & ((1UL << (w * 8)) - 1); } static char * evalstr(char *s)