shadow_copy2: Fix shadow_copy2_posix_gmt_string return type
authorRajesh Joseph <rjoseph@redhat.com>
Mon, 11 Jul 2016 12:28:46 +0000 (12:28 +0000)
committerStefan Metzmacher <metze@samba.org>
Thu, 28 Jul 2016 08:06:13 +0000 (10:06 +0200)
commit999ea7ea4d7810ae9b2a2c7757d56d32b6c51c4e
tree34632e1a1b74d1af1a8cae7c6a7a483a75281d2e
parentdbb243fa69bb86c0e1b9ed7054a883bcd5723f61
shadow_copy2: Fix shadow_copy2_posix_gmt_string return type

This function returns -1 on error but the return type is
size_t which is unsigned.

Signed-off-by: Rajesh Joseph <rjoseph@redhat.com>
Reviewed-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/modules/vfs_shadow_copy2.c