mirror of
https://github.com/corda/corda.git
synced 2025-01-21 03:55:00 +00:00
fix printf warning
This commit is contained in:
parent
bd8d1c05d0
commit
479c48f1dd
@ -29,16 +29,18 @@
|
||||
|
||||
#ifdef __i386__
|
||||
# define LD "d"
|
||||
# define LX "x"
|
||||
# define LLD "lld"
|
||||
#ifdef __APPLE__
|
||||
# define ULD "lu"
|
||||
#else
|
||||
# define ULD "u"
|
||||
#endif
|
||||
# define LLD "lld"
|
||||
#elif defined __x86_64__
|
||||
# define LD "ld"
|
||||
# define ULD "lu"
|
||||
# define LX "lx"
|
||||
# define LLD "ld"
|
||||
# define ULD "lu"
|
||||
#else
|
||||
# error "Unsupported architecture"
|
||||
#endif
|
||||
|
@ -122,7 +122,7 @@ compareIpToMethodBounds(Thread* t, intptr_t ip, object method)
|
||||
(&singletonValue(t, methodCompiled(t, method), 0));
|
||||
|
||||
if (DebugMethodTree) {
|
||||
fprintf(stderr, "find 0x%lx in (0x%lx,0x%lx)\n", ip, start,
|
||||
fprintf(stderr, "find 0x%"LX" in (0x%"LX",0x%"LX")\n", ip, start,
|
||||
start + (singletonCount(t, methodCompiled(t, method))
|
||||
* BytesPerWord));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user