google / gematria

Machine learning for machine code.
Apache License 2.0
76 stars 11 forks source link

Add intptr_t static cast to silence compiler warning #177

Closed boomanaiden154 closed 3 months ago

boomanaiden154 commented 3 months ago

There is a compiler warning marked as -Werror inside google3 that fires on this code due to Gematria using uintptr_t but llvm-exegesis using intptr_t. For now, static cast this so that we can do an import.