db: Fix warning about truncating the size

We are truncating the size and might should simply use a MIN
here to get the returned size or the maximum we can hold..
1 file changed
tree: 64b314c678d40821f01d028f2f8d934152852dbc
  1. linux-kernel/
  2. openbsc/
  3. wireshark/