X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fscript.c;h=1336ff374a695918f9b11cb25813ca722f4b1abb;hb=3b6d366005b6fc23c705b3156e365316f6ab776c;hp=e465ab7be90ea352e0514f96026a5daad258e1eb;hpb=d6b45d005530496e48325a6174ecdd889a17bfc1;p=tinc diff --git a/src/script.c b/src/script.c index e465ab7b..1336ff37 100644 --- a/src/script.c +++ b/src/script.c @@ -35,7 +35,7 @@ static void unputenv(const char *p) { return; } - int len = e - p; + ptrdiff_t len = e - p; #ifndef HAVE_UNSETENV #ifdef HAVE_MINGW // Windows requires putenv("FOO=") to unset %FOO%