ERR: Fixed compiler warning for gcc 3.0.
This commit is contained in:
parent
e7ac38077a
commit
17591cd515
|
@ -3809,7 +3809,8 @@ int set_field_buffer(FIELD * field, int buffer, const char * value)
|
||||||
p[s-value] = *s;
|
p[s-value] = *s;
|
||||||
if (s < (value+len))
|
if (s < (value+len))
|
||||||
{
|
{
|
||||||
p[s-value] = *s++;
|
int off = s-value;
|
||||||
|
p[off] = *s++;
|
||||||
s = p + (s-value);
|
s = p + (s-value);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue