summaryrefslogtreecommitdiff
path: root/http.c
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2016-07-30 20:18:31 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-08-01 14:01:03 -0700
commit50492f7b38f84619cbfb443efc3c0c78fc0304dd (patch)
tree051c7b006815c0c55c8c37039cb9877402b56a1b /http.c
parentSync with maint (diff)
downloadtgif-50492f7b38f84619cbfb443efc3c0c78fc0304dd.tar.xz
pass constants as first argument to st_mult()
The result of st_mult() is the same no matter the order of its arguments. It invokes the macro unsigned_mult_overflows(), which divides the second parameter by the first one. Pass constants first to allow that division to be done already at compile time. Signed-off-by: Rene Scharfe <l.s.r@web.de> Reviewed-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'http.c')
0 files changed, 0 insertions, 0 deletions