Changeset c04e3c7b94fa30438cb7c897e866588a2a959589

Show
Ignore:
Timestamp:
05/10/10 22:40:23 (2 years ago)
Author:
Antti-Juhani Kaijanaho <antti-juhani@…>
Children:
664ffba88353729fc2e489922d1cde69545131fb
Parents:
90836dc4f3981b6170b18cc3b4b5f23483704454
git-committer:
Antti-Juhani Kaijanaho <antti-juhani@…> (05/10/10 22:40:23)
Message:

Nitfixes

Signed-off-by: Antti-Juhani Kaijanaho <antti-juhani@…>

Location:
tlate
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • tlate/date_value.cc

    rd8648cf rc04e3c7  
    8585                        rv.reset(new sv(date.date().day(), 2)); 
    8686                else if (var == "wday" && 
    87                          0 <= date.date().day_of_week() && 
     87                         /*0 <= date.date().day_of_week() && -- always true */ 
    8888                         date.date().day_of_week() <= 6) 
    8989                        rv.reset(new sv(wd[date.date().day_of_week()])); 
  • tlate/string_value.hh

    rd8648cf rc04e3c7  
    3636 
    3737                explicit string_value(std::string val) : val(val) {} 
    38                 explicit string_value(int val_, int min_digits = 1) { 
     38                explicit string_value(int val_, unsigned min_digits = 1) { 
    3939                        bool sign = val_ < 0; 
    4040                        if (sign) val_ = -val_;