fix keepassx under gcc 4.8
Merge pull request #1564 from aristidb/master

fix keepassx under gcc 4.8