src/share/vm/adlc/filebuff.hpp

changeset 1204
116b019a3961
parent 1063
7bb995fbd3c0
child 1907
c18cbe5936b8
     1.1 --- a/src/share/vm/adlc/filebuff.hpp	Thu May 07 10:30:17 2009 -0700
     1.2 +++ b/src/share/vm/adlc/filebuff.hpp	Fri May 08 14:33:58 2009 -0700
     1.3 @@ -73,7 +73,7 @@
     1.4  
     1.5    // This converts a pointer into the buffer to a file offset.  It only works
     1.6    // when the pointer is valid (i.e. just obtained from getline()).
     1.7 -  long getoff(const char* s) { return _bufoff + (s - _buf); }
     1.8 +  long getoff(const char* s) { return _bufoff + (long)(s - _buf); }
     1.9  };
    1.10  
    1.11  //------------------------------FileBuffRegion---------------------------------

mercurial