BUG: Fixed compile warning on shape.c

From todays tutorial at SciPy2013 :wink: