addressed a compilation warning on Mac OS X