From 21aa308dc2a24aa1fdfdb88d7708402235a59991 Mon Sep 17 00:00:00 2001 From: David Howells Date: Feb 09 2016 10:10:09 +0000 Subject: Second attempt at the nios2 patch --- diff --git a/cross-binutils-2.26-nios2-warn.patch b/cross-binutils-2.26-nios2-warn.patch index ff119ed..97a690b 100644 --- a/cross-binutils-2.26-nios2-warn.patch +++ b/cross-binutils-2.26-nios2-warn.patch @@ -6,7 +6,7 @@ diff --git a/gas/config/tc-nios2.c b/gas/config/tc-nios2.c { /* Check for negative overflow. */ - if ((signed) fixup < ((signed) ~0 << (howto->bitsize-1))) -+ if ((signed) fixup < (signed)(~0 << (howto->bitsize-1))) ++ if ((signed) fixup < (signed)(~0U << (howto->bitsize-1))) return TRUE; } else