Show
Ignore:
Timestamp:
03/30/08 15:05:21 (9 months ago)
Author:
gary
Message:

add casts to statements where implicit demotion stronger to weaker type occurred - this triggers a warning in VS

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/source/parse_commands.cpp

    r1891 r1894  
    127127        { 
    128128                /* this code prints pretty lines at top of output box */ 
    129                 int indent = (122 - strlen(version::Inst().chVersion))/2; 
     129                int indent = (int)((122 - strlen(version::Inst().chVersion))/2); 
    130130                fprintf( ioQQQ, "%*cCloudy %s\n", indent, ' ', version::Inst().chVersion ); 
    131131