Shadow mapping & deferred rendering problem

I am trying to implement shadow mapping in my project in C , but for some reason nothing is in the shadow.

All code and details can be found here:

If someone can spot my mistake and point me in the right direction i would be very grateful!