From 6cd243def4b335efa5a83acb4d29aee482970d2e Mon Sep 17 00:00:00 2001 From: "Taylor C. Richberger" Date: Sat, 2 Mar 2019 14:26:54 -0700 Subject: turn ptrdiff_t into std::ptrdiff_t --- args.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/args.hxx b/args.hxx index d7b3ca9..09c1919 100644 --- a/args.hxx +++ b/args.hxx @@ -40,6 +40,7 @@ #include #include #include +#include #ifdef ARGS_TESTNAMESPACE namespace argstest @@ -2719,7 +2720,7 @@ namespace args { curArgs[idx - 1] += "="; // Avoid warnings from -Wsign-conversion - const auto signedIdx = static_cast(idx); + const auto signedIdx = static_cast(idx); if (idx + 1 < curArgs.size()) { curArgs[idx - 1] += curArgs[idx + 1]; -- cgit v1.2.1