one possible fix to the warning given when compiling the example source