Error show up during compilation

I was trying to compile a project in VS that interact with julia code within some wrappers. This project is working with the julia version v1.0.5.
When I compile the project, the next error is show up in the terminal:
“error C4146: unitary operator ‘-’ aplicated to an unsigned type; the result still has not sign.”
If a double click on this error, I got the julia.h file, in particular, the lines I am showing in the screenshot below.
I can not undestand what is wrong with that because this function is within julia version and is not allowed to modifed it.
In addition, the function that, in theory, is failing, is not using in any other sites inside the whole project.