graphitemaster / incbin

Include binary files in C/C++
The Unlicense
966 stars 90 forks source link

End pointer is not correct #38

Closed jpcima closed 4 years ago

jpcima commented 4 years ago

The end pointer value is not correct.

I get such output from printing it, using GCC/Clang on x86_64. Value is 0xe0001, and expectation is 0x5574b697d01e.

Basic Example
Size: 14
Start: 0x5574b697d010
End: 0xe0001
Hello, World!

Hello.c.gz Hello.dat.gz

jpcima commented 4 years ago

Oops, I realized why it's wrong after examining the test code shortly. Sorry, I close it.