Ignore:
Timestamp:
Apr 10, 2008, 10:23:24 PM (14 years ago)
Author:
Jari Häkkinen
Message:

changed u_int to unsigned int

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.6-stable/lib/Date.cc

    r430 r582  
    6969    struct tm* last = std::gmtime(&t1);
    7070
    71     u_int year=0;
     71    unsigned int year=0;
    7272    while (t0<=t1) {
    7373      ++year;
     
    8585    }
    8686
    87     u_int month=0;
     87    unsigned int month=0;
    8888    while (t0<=t1) {
    8989      ++month;
     
    102102   
    103103
    104     u_int day = (t1-t0)/24/60/60;
     104    unsigned int day = (t1-t0)/24/60/60;
    105105    ss << day << " day";
    106106    if (day!=1)
     
    117117    struct tm* timeinfo = std::localtime(&time_);
    118118
    119     u_int year, month, day, hour, minute, second;
     119    unsigned int year, month, day, hour, minute, second;
    120120    std::string tmp;
    121121    std::getline(sstream,tmp,'-');
Note: See TracChangeset for help on using the changeset viewer.