summaryrefslogtreecommitdiff
path: root/devel/gdb7/patches/patch-opcodes_i386-dis_c
blob: c9e91a2b81d9256376913d5cd2932754fa9b6a09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-opcodes_i386-dis_c,v 1.1 2017/06/05 10:41:28 maya Exp $

--- opcodes/i386-dis.c.orig	2015-02-19 11:58:08.000000000 +0000
+++ opcodes/i386-dis.c
@@ -13586,7 +13586,7 @@ dofloat (int sizeflag)
 static void
 oappend_maybe_intel (const char *s)
 {
-  oappend (s + intel_syntax);
+  oappend (s[(short)intel_syntax]);
 }
 
 static void