Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2383)

Unified Diff: core/src/fxcrt/fx_basic_gcc.cpp

Issue 1172793002: Merge to XFA: Use stdint.h types throughout PDFium. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/src/fxcrt/fx_basic_coords.cpp ('k') | core/src/fxcrt/fx_basic_maps.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/src/fxcrt/fx_basic_gcc.cpp
diff --git a/core/src/fxcrt/fx_basic_gcc.cpp b/core/src/fxcrt/fx_basic_gcc.cpp
index 93c71ce66028fd4e6b25cc73f55f529df91727b2..caa99926a68a912f609e96c9d77e51f202697d9e 100644
--- a/core/src/fxcrt/fx_basic_gcc.cpp
+++ b/core/src/fxcrt/fx_basic_gcc.cpp
@@ -58,29 +58,29 @@ STR_T FXSYS_IntToStr(T value, STR_T string, int radix)
#ifdef __cplusplus
extern "C" {
#endif
-FX_INT32 FXSYS_atoi(FX_LPCSTR str)
+int32_t FXSYS_atoi(FX_LPCSTR str)
{
- return FXSYS_StrToInt<FX_INT32, FX_LPCSTR>(str);
+ return FXSYS_StrToInt<int32_t, FX_LPCSTR>(str);
}
-FX_INT32 FXSYS_wtoi(FX_LPCWSTR str)
+int32_t FXSYS_wtoi(FX_LPCWSTR str)
{
- return FXSYS_StrToInt<FX_INT32, FX_LPCWSTR>(str);
+ return FXSYS_StrToInt<int32_t, FX_LPCWSTR>(str);
}
-FX_INT64 FXSYS_atoi64(FX_LPCSTR str)
+int64_t FXSYS_atoi64(FX_LPCSTR str)
{
- return FXSYS_StrToInt<FX_INT64, FX_LPCSTR>(str);
+ return FXSYS_StrToInt<int64_t, FX_LPCSTR>(str);
}
-FX_INT64 FXSYS_wtoi64(FX_LPCWSTR str)
+int64_t FXSYS_wtoi64(FX_LPCWSTR str)
{
- return FXSYS_StrToInt<FX_INT64, FX_LPCWSTR>(str);
+ return FXSYS_StrToInt<int64_t, FX_LPCWSTR>(str);
}
-FX_LPCSTR FXSYS_i64toa(FX_INT64 value, FX_LPSTR str, int radix)
+FX_LPCSTR FXSYS_i64toa(int64_t value, FX_LPSTR str, int radix)
{
- return FXSYS_IntToStr<FX_INT64, FX_LPSTR>(value, str, radix);
+ return FXSYS_IntToStr<int64_t, FX_LPSTR>(value, str, radix);
}
-FX_LPCWSTR FXSYS_i64tow(FX_INT64 value, FX_LPWSTR str, int radix)
+FX_LPCWSTR FXSYS_i64tow(int64_t value, FX_LPWSTR str, int radix)
{
- return FXSYS_IntToStr<FX_INT64, FX_LPWSTR>(value, str, radix);
+ return FXSYS_IntToStr<int64_t, FX_LPWSTR>(value, str, radix);
}
#ifdef __cplusplus
}
@@ -194,7 +194,7 @@ int FXSYS_wcsicmp(const FX_WCHAR *dst, const FX_WCHAR *src)
}
char* FXSYS_itoa(int value, char* string, int radix)
{
- return FXSYS_IntToStr<FX_INT32, FX_LPSTR>(value, string, radix);
+ return FXSYS_IntToStr<int32_t, FX_LPSTR>(value, string, radix);
}
#ifdef __cplusplus
}
« no previous file with comments | « core/src/fxcrt/fx_basic_coords.cpp ('k') | core/src/fxcrt/fx_basic_maps.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698