Fix signature of signal

Fix small bug in previous pull request, which is not detected during compile time.