• Show log

    Commit

  • Hash : 21b1a0de
    Author : Kan-Ru Chen
    Date : 2011-04-12T09:26:43

    Fix reading of signed integers from files on 64bit platforms.
    
    Previously, signed integers were converted to unsigned integers, but
    this can fail because of sign extension.  For example, 0xa344a1eb
    becomes 0xffffffffa344a1eb.
    
    We now do the reverse which is always correct because the integer
    size is the same during the cast from unsigned to signed.
    
    * include/freetype/internal/ftstream.h, src/base/ftstream.c
    (FT_Stream_Get*): Replace with...
    (FT_Stream_GetU*): Functions which read unsigned integers.
    Update all macros accordingly.
    
    * src/gzip/ftgzip.c (ft_gzip_get_uncompressed_size): Updated.
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/freetype.git
    Git SSH git@git.kmx.io:kc3-lang/freetype.git
    Public access ? public
    Description
    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags