Ignore:
Timestamp:
03/08/16 08:05:51 (9 years ago)
Author:
epyon
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gfx/texture_font.cc

    r471 r487  
    8080static uint8* convert_to_rgba(uint8* rgb, const int lines, const int line_count, const int line_bpitch )
    8181{
    82         uint8* result = new uint8[ lines * line_count * 4 ];
     82        uint8* result = new uint8[ static_cast< uint32 >( lines * line_count * 4 ) ];
    8383        uint8* rgba   = result;
    8484        for(int l=0; l<lines; ++l)
Note: See TracChangeset for help on using the changeset viewer.