Re: [PATCH] Adjust binutils to quiesce -Wstring-plus-int

2013-10-30 Thread Steve Kargl
On Wed, Oct 30, 2013 at 11:40:40PM -0400, Eitan Adler wrote: > On Wed, Oct 30, 2013 at 8:49 PM, Sean Bruno wrote: > > Spent some time doing string maths today. > > > > More or less, change the "static char intel_syntax" to an int and use it > > as an array index instead of doing pointer math. > >

Re: [PATCH] Adjust binutils to quiesce -Wstring-plus-int

2013-10-30 Thread Eitan Adler
On Wed, Oct 30, 2013 at 8:49 PM, Sean Bruno wrote: > Spent some time doing string maths today. > > More or less, change the "static char intel_syntax" to an int and use it > as an array index instead of doing pointer math. > > Sean > > http://people.freebsd.org/~sbruno/binutils_opcodes.txt While

Re: [PATCH] Adjust binutils to quiesce -Wstring-plus-int

2013-10-30 Thread Eric van Gyzen
On 10/30/2013 07:49 PM, Sean Bruno wrote: Spent some time doing string maths today. More or less, change the "static char intel_syntax" to an int and use it as an array index instead of doing pointer math. Sean http://people.freebsd.org/~sbruno/binutils_opcodes.txt Looks good to me. Thanks

[PATCH] Adjust binutils to quiesce -Wstring-plus-int

2013-10-30 Thread Sean Bruno
Spent some time doing string maths today. More or less, change the "static char intel_syntax" to an int and use it as an array index instead of doing pointer math. Sean http://people.freebsd.org/~sbruno/binutils_opcodes.txt signature.asc Description: This is a digitally signed message part