diff options
| author | Scott Tsai <scottt.tw@gmail.com> | 2009-03-21 07:41:30 +0800 |
|---|---|---|
| committer | Scott Tsai <scottt.tw@gmail.com> | 2009-03-21 07:41:30 +0800 |
| commit | 0c4ee7741c94376599256f923c08dac18d090e97 (patch) | |
| tree | e1f661f56a38aa9597f0b70f2ffedb4bf378aaca /samples/FixedGridLayout/src/com/example/android/fixedgridlayout/FixedGridLayoutTest.java | |
| parent | 3e2a2d312abdcd476ef9612bd4057d5aee289227 (diff) | |
Correctly expect the return value of rindex(const char*) to be of type
'const char*' to make the code build on gcc-4.4.
The C++ spec overloads string fucntions like strtsr and rindex so that
rindex(char *) returns 'char*' and rindex(const char*) returns 'const
char*'.
Without this patch you get an "invalid conversion from ‘const char*’ to
‘char*’" error on gcc-4.4
Diffstat (limited to 'samples/FixedGridLayout/src/com/example/android/fixedgridlayout/FixedGridLayoutTest.java')
0 files changed, 0 insertions, 0 deletions
