diff -uprN src0/gdb/expprint.c src1/gdb/expprint.c --- src0/gdb/expprint.c 2009-06-10 13:49:44.000000000 -0400 +++ src1/gdb/expprint.c 2009-08-06 09:13:21.000000000 -0400 @@ -187,7 +187,8 @@ print_subexp_standard (struct expression additional parameter to LA_PRINT_STRING. -fnf */ get_user_print_options (&opts); LA_PRINT_STRING (stream, builtin_type (exp->gdbarch)->builtin_char, - &exp->elts[pc + 2].string, nargs, 0, &opts); + (gdb_byte *)&exp->elts[pc + 2].string, nargs, 0, + &opts); } return; @@ -206,7 +207,8 @@ print_subexp_standard (struct expression fputs_filtered ("@\"", stream); get_user_print_options (&opts); LA_PRINT_STRING (stream, builtin_type (exp->gdbarch)->builtin_char, - &exp->elts[pc + 2].string, nargs, 0, &opts); + (gdb_byte *)&exp->elts[pc + 2].string, nargs, 0, + &opts); fputs_filtered ("\"", stream); } return; @@ -292,7 +294,7 @@ print_subexp_standard (struct expression struct value_print_options opts; get_user_print_options (&opts); LA_PRINT_STRING (stream, builtin_type (exp->gdbarch)->builtin_char, - tempstr, nargs - 1, 0, &opts); + (gdb_byte *)tempstr, nargs - 1, 0, &opts); (*pos) = pc; } else