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/grid_do.cpp

    r1891 r1894  
    173173                fprintf( ioQQQ, "                                                      Optimization  Driver\n" ); 
    174174        } 
    175         int indent = (122 - strlen(version::Inst().chVersion))/2; 
     175        int indent = (int)((122 - strlen(version::Inst().chVersion))/2); 
    176176        fprintf( ioQQQ, "%*cCloudy %s\n\n",indent,' ',version::Inst().chVersion); 
    177177        fprintf( ioQQQ, "%23c**************************************%7.7s**************************************\n", ' ', version::Inst().chDate );