1
0
mirror of https://github.com/git/git.git synced 2024-11-19 19:14:02 +01:00
git/block-sha1
Ramsay Jones 9eafa1201b msvc: Fix some compiler warnings
In particular, using the normal (or production) compiler
warning level (-W3), msvc complains as follows:

.../sha1.c(244) : warning C4018: '<' : signed/unsigned mismatch
.../sha1.c(270) : warning C4244: 'function' : conversion from \
   'unsigned __int64' to 'unsigned long', possible loss of data
.../sha1.c(271) : warning C4244: 'function' : conversion from \
   'unsigned __int64' to 'unsigned long', possible loss of data

Note that gcc issues a similar complaint about line 244 when
compiling with -Wextra.

Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2010-06-25 11:04:16 -07:00
..
sha1.c msvc: Fix some compiler warnings 2010-06-25 11:04:16 -07:00
sha1.h remove ARM and Mozilla SHA1 implementations 2009-08-18 14:19:40 -07:00