gas: Silence GCC 10 warning on tc-visium.c
[deliverable/binutils-gdb.git] / gas / config / tc-visium.c
index fc6a41d9a4df7999396ebce48e5db47369b110c9..3e48c7aefc83f945998b31ebbfd6f2698ee406e4 100644 (file)
@@ -484,7 +484,7 @@ void
 md_convert_frag (bfd * abfd ATTRIBUTE_UNUSED, segT sec ATTRIBUTE_UNUSED,
                 fragS * fragP)
 {
-  char *buf = fragP->fr_literal + fragP->fr_fix;
+  char *buf = &fragP->fr_literal[0] + fragP->fr_fix;
   expressionS exp;
   fixS *fixP;
 
This page took 0.032151 seconds and 4 git commands to generate.