[Nouveau] [Bug 23291] nv50_program.c: In function ‘ctor_immd’ , ‘r’ undeclared (first use in this function)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 14 07:26:38 PDT 2009


http://bugs.freedesktop.org/show_bug.cgi?id=23291





--- Comment #5 from Renato Caldas <seventhguardian at gmail.com>  2009-08-14 07:26:36 PST ---
Created an attachment (id=28632)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=28632)
Patch that fixes nv50_program.c compilation

Here's the patch.

This seems to be an ancient bug, where one instance of "r" should have been
replaced by "4" but wasn't. It never caused any problems before, because the
second REALLOC argument was discarded. This changed with this commit:

[120e76866b4b0d136ae4ed377c6ff96454e39b95] util: silence warnings for third
REALLOC argument


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Nouveau mailing list