make the code compile with less warnings
Authored by: gerddie 2008-08-11
Parent: [r895]
Child: [r897]