This small fix (which looks meaningless) fixed segfaults on my machine.

Architecture information:

    $ uname -a
    $ Linux test2.local 2.6.32-220.4.1.el6.x86_64 #1 SMP Tue Jan 24 02:13:44 GMT 2012 x86_64 x86_64 x86_64 GNU/Linux