Fix spectre function signature error introduced with commit 7356250