|
@@ -67,7 +67,7 @@ Answer* PostRequest::execute() const
|
|
|
Text* len = answer.getTeilText(p);
|
|
|
len->remove(len->positionVon("\n"), len->getLength());
|
|
|
len->remove("\r");
|
|
|
- length = *len;
|
|
|
+ length = (int)*len;
|
|
|
len->release();
|
|
|
}
|
|
|
}
|
|
@@ -118,7 +118,7 @@ Answer::Answer(const char* answer)
|
|
|
line->remove(0, trenn + 1);
|
|
|
trenn = line->positionVon(" ");
|
|
|
tmp = line->getTeilText(0, trenn);
|
|
|
- this->statusNumber = *tmp;
|
|
|
+ this->statusNumber = (int)*tmp;
|
|
|
tmp->release();
|
|
|
line->remove(0, trenn + 1);
|
|
|
this->statusText = *line;
|