pg_dump: Fix inconsistent sscanf() conversions

Peter Eisentraut <peter_e@gmx.net>

Commit: a914a0414232e30943f7b2ffd997d74bd018a7b1
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2016-02-19T01:12:38Z
Releases: 9.6.0
pg_dump: Fix inconsistent sscanf() conversions

It was using %u to read a string that was earlier produced by snprintf with %d
into a signed integer variable.  This seems to work in practice but is
incorrect.

found by cppcheck

Files