diff mbox

[PATCHv2,2/5] Revert "Fix mistaken comparison that becomes a no-op."

Message ID 1385633782-775-3-git-send-email-franzschrober@gmail.com (mailing list archive)
State Mainlined, archived
Headers show

Commit Message

Franz Schrober Nov. 28, 2013, 10:16 a.m. UTC
From: Franz Schrober <franzschrober@yahoo.de>

James Westby is the only person not reacting when asking him about the MIT
license change over email or social media. So he has to count as not accepting
and reverting his contributions is the only way to to avoid possible legal
problems. The contributions can be re-added later when they are rewritten from
scratch.

This reverts commit 006eff06c7adcfb0d06c6fadf6e9b64f0488b2bf.

Cc: James Westby <jw+debian@jameswestby.net>
Signed-off-by: Franz Schrober <franzschrober@yahoo.de>
---
 evaluate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/evaluate.c b/evaluate.c
index 19be637..4b4ea6e 100644
--- a/evaluate.c
+++ b/evaluate.c
@@ -175,7 +175,7 @@  left:
 
 static int same_cast_type(struct symbol *orig, struct symbol *new)
 {
-	return orig->bit_size == new->bit_size && orig->bit_offset == new->bit_offset;
+	return orig->bit_size == new->bit_size && orig->bit_offset == orig->bit_offset;
 }
 
 static struct symbol *base_type(struct symbol *node, unsigned long *modp, unsigned long *asp)