From 59e7b83892bbaa3a3eb94fa5e952e2767d4c6992 Mon Sep 17 00:00:00 2001 From: David Abdemoulaie Date: Tue, 14 Dec 2010 23:55:33 -0600 Subject: [PATCH] Addresses warning that posix_kill takes long not string --- test/Resque/Tests/bootstrap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Resque/Tests/bootstrap.php b/test/Resque/Tests/bootstrap.php index c7ded09..03f7e56 100644 --- a/test/Resque/Tests/bootstrap.php +++ b/test/Resque/Tests/bootstrap.php @@ -59,7 +59,7 @@ function killRedis($pid) $pidFile = TEST_MISC . '/' . $matches[1]; $pid = trim(file_get_contents($pidFile)); - posix_kill($pid, 9); + posix_kill((int) $pid, 9); if(is_file($pidFile)) { unlink($pidFile);