caps: fix build with gcc6
authored by Piotr Bogdan and committed by Franz Pletz 8 years ago 3d8d9aa1 101a048f