$ 0 0 Removing the cast shouldn't cause a compilation error, but perhaps it causes a warning on some compilers/settings.