| Index: src/platform/update_engine/update_check_action.cc
|
| diff --git a/src/platform/update_engine/update_check_action.cc b/src/platform/update_engine/update_check_action.cc
|
| index a9d303cb293e0d6e8666afe86a5e71702f253624..b92e78862b0253828c3ef4d0d1beef185ce7828a 100644
|
| --- a/src/platform/update_engine/update_check_action.cc
|
| +++ b/src/platform/update_engine/update_check_action.cc
|
| @@ -3,6 +3,7 @@
|
| // found in the LICENSE file.
|
|
|
| #include "update_engine/update_check_action.h"
|
| +#include <inttypes.h>
|
| #include <sstream>
|
|
|
| #include <libxml/parser.h>
|
| @@ -172,8 +173,7 @@ string XmlGetProperty(xmlNode* node, const char* name) {
|
| // error.
|
| off_t ParseInt(const string& str) {
|
| off_t ret = 0;
|
| -
|
| - int rc = sscanf(str.c_str(), "%lld", &ret);
|
| + int rc = sscanf(str.c_str(), "%" PRIi64, &ret);
|
| if (rc < 1) {
|
| // failure
|
| return 0;
|
|
|