Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on May 20, 2009
  1. @toofishes @gitster

    Unify signedness in hashing calls

    toofishes authored gitster committed
    Our hash_obj and hashtable_index calls and functions were doing a lot of
    funny things with signedness. Unify all of it to 'unsigned int'.
    
    Signed-off-by: Dan McGee <dpmcgee@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on May 17, 2009
  1. @toofishes @gitster

    Fix type-punning issues

    toofishes authored gitster committed
    In these two places we are casting part of our unsigned char sha1 array into
    an unsigned int, which violates GCCs strict-aliasing rules (and probably
    other compilers).
    
    Signed-off-by: Dan McGee <dpmcgee@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Something went wrong with that request. Please try again.