src/share/vm/adlc/main.cpp

changeset 1038
dbbe28fc66b5
parent 435
a61af66fc99e
child 1907
c18cbe5936b8
     1.1 --- a/src/share/vm/adlc/main.cpp	Thu Feb 26 16:57:21 2009 -0800
     1.2 +++ b/src/share/vm/adlc/main.cpp	Fri Feb 27 03:35:40 2009 -0800
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright 1997-2007 Sun Microsystems, Inc.  All Rights Reserved.
     1.6 + * Copyright 1997-2009 Sun Microsystems, Inc.  All Rights Reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -349,7 +349,7 @@
    1.11      }
    1.12      else {
    1.13        if (_ADL_file._name) printf("%s --> ", _ADL_file._name);
    1.14 -      printf("%s, %s, %s, %s, %s, %s, %s, %s, %s",
    1.15 +      printf("%s, %s, %s, %s, %s, %s, %s, %s, %s, %s",
    1.16               _CPP_file._name,
    1.17               _CPP_CLONE_file._name,
    1.18               _CPP_EXPAND_file._name,
    1.19 @@ -358,7 +358,8 @@
    1.20               _CPP_MISC_file._name,
    1.21               _CPP_PEEPHOLE_file._name,
    1.22               _CPP_PIPELINE_file._name,
    1.23 -             _HPP_file._name, _DFA_file._name);
    1.24 +             _HPP_file._name,
    1.25 +             _DFA_file._name);
    1.26      }
    1.27      printf("\n");
    1.28    }
    1.29 @@ -431,7 +432,7 @@
    1.30      legal_end = fbuf.get_line();
    1.31    }
    1.32    *legal_text = legal_start;
    1.33 -  return (legal_end - legal_start);
    1.34 +  return (int) (legal_end - legal_start);
    1.35  }
    1.36  
    1.37  // VS2005 has its own definition, identical to this one.

mercurial