mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 04:49:54 +08:00
gdb.python/py-as-string.exp C++ify
Make the testcase buildable with a C++ compiler. gdb/testsuite/ChangeLog: * gdb.python/py-as-string.c: Add cast.
This commit is contained in:
@ -23,7 +23,7 @@ enum EnumType {
|
||||
};
|
||||
|
||||
static enum EnumType enum_valid = ENUM_VALUE_B;
|
||||
static enum EnumType enum_invalid = 20;
|
||||
static enum EnumType enum_invalid = (enum EnumType) 20;
|
||||
|
||||
int
|
||||
main ()
|
||||
|
Reference in New Issue
Block a user