[PATCH libXft] Initialize glyph_memory to 0 instead of NULL, since it is a size

Dan Nicholson dbn.lists at gmail.com
Sat Mar 20 11:10:00 PDT 2010


On Fri, Mar 19, 2010 at 10:43 PM, Jeff Smith <whydoubt at yahoo.com> wrote:
> In investigating an "assignment makes integer from pointer without a cast"
> warning, I discovered that glyph_memory (an integer indicating the size of a
> memory area) was being initialized to NULL.
>
> It appears that this was introduced in commit
> 5957fdd9ba2aba60e90a30bc3744f76ddb27b8d2, "Janitor: Correct make distcheck and
> sparse warnings."
>
> Signed-off-by: Jeff Smith <whydoubt at yahoo.com>

Reviewed-by: Dan Nicholson <dbn.lists at gmail.com>


More information about the xorg-devel mailing list