0

Well i'm trying to implement pawn into my app (pawn the embedded scripting language) and while including the amxprocess.c i get these errors:

Error 1 error C2708: 'push' : actual parameters length in bytes differs from previous call or reference 524
Error 2 error C2708: 'push' : actual parameters length in bytes differs from previous call or reference 527
Error 3 error C2708: 'push' : actual parameters length in bytes differs from previous call or reference 530
Error 4 error C2708: 'push' : actual parameters length in bytes differs from previous call or reference 533

With this section of code:

if ((ps[idx].type=='i' || ps[idx].type=='u' || ps[idx].type=='f') && ps[idx].range==1) {
        switch (ps[idx].size) {
        case 8:
          push((unsigned char)(ps[idx].v.val & 0xff);
          break;
        case 16:
          push((unsigned short)(ps[idx].v.val & 0xffff));
          break;
        default:
          push(ps[idx].v.val);
        } /* switch */
      } else {
        push(ps[idx].v.ptr);
      } /* if */

Could someone tell me what is wrong with this and how to fix it?

2
Contributors
2
Replies
3
Views
10 Years
Discussion Span
Last Post by Sacky
0

Sorry i pasted a bit of old code, however the missing ) was not my issue, it was the errors above

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.