summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr39943.c
blob: 537ba437029a035875d51f87eaba123e5f5a2aef (plain)
1
2
3
4
5
6
7
void gl_fog_index_pixels(float f, unsigned int n, unsigned int index[])
{ 
  unsigned int i;
  for (i=0; i<n; i++) 
    index[i] = (unsigned int) ((float) index[i] + (1.0F-f));
}