torrentd

simple torrent daemon
git clone git://git.2f30.org/torrentd
Log | Files | Refs | LICENSE

commit 9ec6f952489de1b39e909d441c1afbc658f7fb96
parent 7df0d35bddaa10700d1b32ad137672738649a796
Author: sin <sin@2f30.org>
Date:   Sat, 19 Dec 2015 11:52:06 +0000

Use a uint8_t * cast

Diffstat:
Mtorrent.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/torrent.c b/torrent.c @@ -11,7 +11,7 @@ static void calcinfohash(struct torrent *t) { - sha1sum((unsigned char *)t->info->start, + sha1sum((uint8_t *)t->info->start, t->info->end - t->info->start, t->infohash); }