[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Fix warning of signedness in fs_skels.c

From: Senthil Kumaran S <senthil_at_collab.net>
Date: Thu, 11 Dec 2008 16:28:21 +0530

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I am attaching a patch which fixes the following warning in
"subversion/libsvn_fs_base/util/fs_skels.c".

<snip>
../subversion/libsvn_fs_base/util/fs_skels.c: In function
'svn_fs_base__parse_representation_skel':
../subversion/libsvn_fs_base/util/fs_skels.c:558: warning: pointer targets in
passing argument 1 of 'svn_checksum__from_digest' differ in signedness
../subversion/libsvn_fs_base/util/fs_skels.c:566: warning: pointer targets in
passing argument 1 of 'svn_checksum__from_digest' differ in signedness
</snip>

[[[
Fix warning of signedness.

* subversion/libsvn_fs_base/util/fs_skels.c
  (svn_fs_base__parse_representation_skel): Typecast 'const char' to
   'const unsigned char' for checksum_skel->children->next->data.

Patch by: stylesen
]]]

Thank You.
- --
Senthil Kumaran S
http://www.stylesen.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAklA8kwACgkQ9o1G+2zNQDiA8ACeMIsf1D957SdFh5mVZ7Inqhn1
FGkAoLlugL/0hFGXUVB0twuOOn+YIBSY
=9X6M
-----END PGP SIGNATURE-----

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=982774

Received on 2008-12-11 12:00:30 CET

This is an archived mail posted to the Subversion Dev mailing list.