Changeset 1261 for trunk/yat/utility


Ignore:
Timestamp:
Apr 8, 2008, 4:01:33 PM (13 years ago)
Author:
Peter
Message:

changing some u_int to size_t

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/FileUtil.cc

    r1260 r1261  
    2828
    2929#include <cerrno>
     30#include <cstddef>
    3031#include <iostream>
    3132#include <stdexcept>
     
    3334
    3435#include <sys/stat.h>
    35 #include <sys/types.h>
    3636#include <unistd.h>
    3737
     
    5858    int mode=0;
    5959    bool ok = true;
    60     for (u_int i=0; i<bits.length(); i++)
     60    for (size_t i=0; i<bits.length(); i++)
    6161      switch (bits[i]) {
    6262          case 'r':
Note: See TracChangeset for help on using the changeset viewer.