diff --git a/cpu/ChangeLog b/cpu/ChangeLog
index 355cc7c5fc77c78e58089e3ca468493637505f38..573430fae60e4dd44f6a7ed2f9d301ff0885cc2e 100644
--- a/cpu/ChangeLog
+++ b/cpu/ChangeLog
@@ -1,3 +1,7 @@
+2010-01-02  Doug Evans  <dje@sebabeach.org>
+
+	* m32c.opc (parse_signed16): Fix typo.
+
 2009-12-11  Nick Clifton  <nickc@redhat.com>
 
 	* frv.opc: Fix shadowed variable warnings.
diff --git a/cpu/m32c.opc b/cpu/m32c.opc
index d2b073db06329500193f081885bcbfd6dbfb667b..2796e1c1cffb1bfa3dff4a34baa3947b3621ff4b 100644
--- a/cpu/m32c.opc
+++ b/cpu/m32c.opc
@@ -1,6 +1,6 @@
 /* m32c opcode support.  -*- C -*-
 
-   Copyright 2005, 2007, 2009 Free Software Foundation, Inc.
+   Copyright 2005, 2007, 2009, 2010 Free Software Foundation, Inc.
 
    Contributed by Red Hat Inc; developed under contract from Renesas
 
@@ -367,7 +367,7 @@ parse_signed16 (CGEN_CPU_DESC cd, const char **strp,
 
       if (errmsg == NULL
   	  && result_type == CGEN_PARSE_OPERAND_RESULT_NUMBER)
-	value &= 0xffff;
+	val &= 0xffff;
 
       value = val;
       *valuep = value;