purple: fix possible gsize vs. size_t incompatibilty
commit1eedd413f1eb1b829244db538c6c2e8712b728ec
authorStefan Becker <stefan.becker@nokia.com>
Thu, 30 Sep 2010 20:06:33 +0000 (30 23:06 +0300)
committerStefan Becker <stefan.becker@nokia.com>
Thu, 30 Sep 2010 20:06:33 +0000 (30 23:06 +0300)
tree6406c88dd2b2050ebb5ed555f5f4b9f38af30981
parent7e947debc11e68e5cca3a199309d5d861ecf120c
purple: fix possible gsize vs. size_t incompatibilty

At least one user reported that on RHEL5 gsize and size_t are incompatible
type definitions. Unfortunately libpurple crypt API uses size_t instead of
gsize. Fix the issue by copying backend API gsize arguments into a temporary
size_t variable before calling libpurple crypt functions.

Change verified by an OBS build.
src/purple/purple-crypt.c