ADO.NET: Specified cast is not valid
===

I get a specified cast not valid error when I execute a stored proc like this:

return (int)comm.ExecuteScalar();

When I execute it in SQL Server it returns 1, so I know my proc is working.

What is wrong with my cast?

Thanks in advance