fixed merge
This commit is contained in:
@@ -74,7 +74,12 @@ public:
|
||||
sprintf(body, "%d", s);
|
||||
}
|
||||
}
|
||||
|
||||
String(long s) {
|
||||
String((long long)s);
|
||||
}
|
||||
|
||||
String(long long s) {
|
||||
length = 0;
|
||||
body = new char[1];
|
||||
body[0] = '\0';
|
||||
@@ -87,7 +92,7 @@ public:
|
||||
}
|
||||
length = size;
|
||||
body = new char[size + 1];
|
||||
sprintf(body, "%ld", s);
|
||||
sprintf(body, "%lld", s);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user