AnsweredAssumed Answered

compiler error, unsigned instead of signed modulo used

Question asked by fvpetrov on May 23, 2012
Latest reply on May 24, 2012 by AndyK2

This code:

 

short circularpointer ( int idx, int size )

{

    short * temp = (short*) circptr ( 0, ( sizeof ( short ) * idx ) % size, 0, size );

    return * temp;

}

 

uses ___urem32 instead of the signed counterpart.

 

Visual DSP++ 5 Update 10, Win7 x64.

Outcomes