mcatan      2004/05/30 03:17:00

  Modified:    include/log4cxx/helpers tchar.h
  Log:
  fixed conversion warning
  
  Revision  Changes    Path
  1.37      +2 -2      logging-log4cxx/include/log4cxx/helpers/tchar.h
  
  Index: tchar.h
  ===================================================================
  RCS file: /home/cvs/logging-log4cxx/include/log4cxx/helpers/tchar.h,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- tchar.h   27 May 2004 09:16:56 -0000      1.36
  +++ tchar.h   30 May 2004 10:17:00 -0000      1.37
  @@ -262,13 +262,13 @@
                                else if (way == std::ios_base::end)
                                {
                                        setp(pbase(), epptr());
  -                                     ret = pos_type(off + epptr() - pbase());
  +                                     ret = pos_type(int(off + epptr() - 
pbase()));
                                        pbump(off + epptr() - pbase());
                                }
                                else if (way == std::ios_base::cur)
                                {
                                        pbump(off);
  -                                     ret = pos_type(pptr() - pbase());
  +                                     ret = pos_type(int(pptr() - pbase()));
                                }
                        }
   
  
  
  

Reply via email to