Changeset 4127 for libcaca/trunk


Ignore:
Timestamp:
Dec 14, 2009, 6:59:38 PM (10 years ago)
Author:
Sam Hocevar
Message:

More warning fixes in conio.c.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/examples/conio.c

    r4126 r4127  
    590590void sorting(int n[])
    591591{
    592   int i, index, alpha;
     592  int i, j, alpha;
    593593  int store[X_BOARD];
    594594
    595   for(index=0; index<X_BOARD; index++)
     595  for(j=0; j<X_BOARD; j++)
    596596  {
    597597    alpha = max(n);
     
    600600      if(n[move[i]] == alpha)
    601601      {
    602         store[index] = move[i];
     602        store[j] = move[i];
    603603        n[move[i]] = -1;
    604604        break;
Note: See TracChangeset for help on using the changeset viewer.