Add a single cast

To continue with the convention, I add a single cast "(int)" in DELETE function.
Merge pull request #1037 from BrodaNoel/patch-1

Add a single cast