Show
Ignore:
Timestamp:
08/27/10 18:55:42 (21 months ago)
Author:
Carsten
Message:

Code enhancements for the native 64-bit Windows (LLP64) port.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cafu/trunk/Libs/MaterialSystem/RendererARBprogs/Shaders/_CommonHelpers.cpp

    r36 r138  
    4343 
    4444    // Upload the string (code) for this program. 
    45     cf::glProgramStringARB(ProgramTarget, GL_PROGRAM_FORMAT_ASCII_ARB, strlen(ProgramCode), ProgramCode); 
     45    cf::glProgramStringARB(ProgramTarget, GL_PROGRAM_FORMAT_ASCII_ARB, GLsizei(strlen(ProgramCode)), ProgramCode); 
    4646 
    4747 
     
    5555#ifdef DEBUG 
    5656    // Want to see warning messages in debug builts. 
    57     const int ErrorStringLen=strlen(ErrorString); 
     57    const size_t ErrorStringLen=strlen(ErrorString); 
    5858#else 
    5959    // ...and currently in release builts, too. 
    60     const int ErrorStringLen=strlen(ErrorString); 
     60    const size_t ErrorStringLen=strlen(ErrorString); 
    6161 // const int ErrorStringLen=0; 
    6262#endif