Refactor pack_int() and upack_int()
Refactor pack_int() and upack_int()

    * Check before calling the function that input value fits
      in 32 bits.

    Attn. This refactoring is done without changing the interface
    (check_pack.h), including the messages. To do this, a lot of
    paranoid programming is done to ensure values fit the types.

Signed-off-by: Mikko Johannes Koivunalho <b1070ee6d40473e0bf54e1be38982cfcedc3436a@iki.fi>

libcheck/check,libcheck/check,libcheck/check,libcheck/check,libcheck/check