Fixed compiler warning in Mac OS X.