lib/javacompat: Make the endianness error message refer to the correct function
parent
c9ec524db1
commit
3995e97f03
|
@ -75,6 +75,7 @@ namespace JavaCompat {
|
|||
output.push_back(stdString[i]);
|
||||
}
|
||||
|
||||
//FIXME: endian-dependent implementation
|
||||
#ifdef FOSSVG_BIG_ENDIAN
|
||||
output[0] = *sizeBytes;
|
||||
output[1] = *(sizeBytes+1);
|
||||
|
@ -83,7 +84,7 @@ namespace JavaCompat {
|
|||
output[0] = *(sizeBytes+1);
|
||||
output[1] = *sizeBytes;
|
||||
#else
|
||||
#error "NBT::helper::writeInt16: An implementation for your endianness is unavailable."
|
||||
#error "JavaCompat::exportJavaString: An implementation for your endianness is unavailable."
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue