OSDN Git Service
(root)
/
iptd
/
iPTd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
EPG解析処理再考中
[iptd/iPTd.git]
/
src
/
Raym
/
HTTPURLResponse.cpp
diff --git
a/src/Raym/HTTPURLResponse.cpp
b/src/Raym/HTTPURLResponse.cpp
index
45526cb
..
434df0b
100644
(file)
--- a/
src/Raym/HTTPURLResponse.cpp
+++ b/
src/Raym/HTTPURLResponse.cpp
@@
-98,7
+98,11
@@
HTTPURLResponse *HTTPURLResponse::initWithURL(URL *url, Integer statusCode, Stri
{
long long len = atoll(val->cString());
char tmp[32];
+#ifdef _WIN32
sprintf_s(tmp, sizeof(tmp), "%lld", len);
+#else
+ sprintf(tmp, "%lld", len);
+#endif
if (strcmp(tmp, val->cString()) == 0)
{
content_length = len;