Ignore:
Timestamp:
Jan 4, 2005, 6:00:50 PM (17 years ago)
Author:
Sam Hocevar
Message:
  • use INT_MAX instead of 99999...
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pwntcha/trunk/src/test.c

    r400 r411  
    1313#include <stdlib.h>
    1414#include <string.h>
     15#include <limits.h>
    1516#include <math.h>
    1617
     
    9091    {
    9192        /* Try to find 1st letter */
    92         distmin = 999999999;
     93        distmin = INT_MAX;
    9394        for(i = 0; i < 35; i++)
    9495        {
    95             int localmin = 99999999, localx, localy;
     96            int localmin = INT_MAX, localx, localy;
    9697            xmin = i * 40;
    9798            ymin = 0;
Note: See TracChangeset for help on using the changeset viewer.