derickr / vld

BSD 2-Clause "Simplified" License
464 stars 87 forks source link

Compiler aborts on uint #38

Closed kainabel closed 5 years ago

kainabel commented 5 years ago

The MS compiler can't handle uint https://github.com/derickr/vld/blob/master/srm_oparray.c#L550 vc_uint.diff.txt

derickr commented 5 years ago

Please make a pull request.

kainabel commented 5 years ago

Please make a pull request.

Oh, unfortunately, I don't have enough knowledge and experience with C and Git.

VC for example doesn't complain when changing from uintto the predefined internal type zend_ulong.

Refers now: https://github.com/derickr/vld/blob/master/srm_oparray.c#L562 from: static uint last_lineno = (uint) -1; to e.g.: static zend_ulong last_lineno = (zend_ulong) -1;

Please don't misunderstand, the effort for me newbie is just too huge to get two mini changes in, which they understand much better. Please just change it in your own way to allow the compiler to run.

Thank you for your time.