Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: xsrc/external/mit/MesaLib/dist/src

Module Name:    xsrc
Committed By:   apb
Date:           Fri Nov  2 12:30:01 UTC 2012

Modified Files:
        xsrc/external/mit/MesaLib/dist/src/gallium/drivers/i965: brw_wm_glsl.c
        xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965: brw_wm_glsl.c

Log Message:
subroutine is a variable of an enum type.  BRW_WM_MAX_SUBROUTINE
is a #define'd constant which is known at compile time to be
larger than the maximum possible value of the enum.  Cast these
values to (int) in an assert(), to avoid a warning from clang

To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
cvs rdiff -u -r1.1.1.3 -r1.2 \

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index