diff --git a/src/openalpr/support/re2/util/strutil.cc b/src/openalpr/support/re2/util/strutil.cc index ab28df7..215923a 100644 --- a/src/openalpr/support/re2/util/strutil.cc +++ b/src/openalpr/support/re2/util/strutil.cc @@ -1,7 +1,7 @@ // Copyright 1999-2005 The RE2 Authors. All Rights Reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include + #include "re2/util/util.h" #include "re2/stringpiece.h" @@ -41,7 +41,7 @@ int CEscapeString(const char* src, int src_len, char* dest, #ifdef WIN32 sprintf_s(dest + used, dest_len, "\\%03o", c); #else - std::sprintf(dest + used, "\\%03o", c); + sprintf(dest + used, "\\%03o", c); #endif used += 4;