From: Marc-André Lureau Date: Fri, 20 Apr 2012 13:13:52 +0000 (+0200) Subject: build: update pid_t type static check X-Git-Tag: v0.9.11.4~121 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4a9f92f2830b4226415d7ca34c0b63ea38b326b6;p=thirdparty%2Flibvirt.git build: update pid_t type static check The code uses long long for pid_t now. It fails on mingw64 without this change. (cherry picked from commit d08c28f65faf85804fe7a7295a1694bdb0d225c3) --- diff --git a/src/util/virpidfile.c b/src/util/virpidfile.c index 59d0c94033..d6235d2df9 100644 --- a/src/util/virpidfile.c +++ b/src/util/virpidfile.c @@ -316,9 +316,6 @@ cleanup: return rc; } - -verify(sizeof(pid_t) <= sizeof(unsigned int)); - int virPidFileAcquirePath(const char *path, pid_t pid) {