summaryrefslogtreecommitdiff
path: root/binutils/windres.c
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/windres.c')
-rw-r--r--binutils/windres.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/windres.c b/binutils/windres.c
index ece32bad6b..16100ed9dd 100644
--- a/binutils/windres.c
+++ b/binutils/windres.c
@@ -1102,7 +1102,7 @@ set_endianess (bfd *abfd, const char *target)
if (hyp != NULL)
{
- tname = hyp + 1;
+ tname = ++hyp;
/* Make sure we dectect architecture names
for triplets like "pe-arm-wince-little". */