fix sprintf on solaris
This commit is contained in:
parent
d45b2f48c3
commit
f07d88dc11
1 changed files with 2 additions and 0 deletions
|
@ -104,6 +104,8 @@ int print_oshash(FILE *output, char const *filename) {
|
|||
char hash[32];
|
||||
#ifdef WIN32
|
||||
sprintf(hash, "%016I64x", gen_oshash(filename));
|
||||
#elif defined (__SVR4) && defined (__sun)
|
||||
sprintf(hash,"%016llx", gen_oshash(filename));
|
||||
#else
|
||||
sprintf(hash, "%016qx", gen_oshash(filename));
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue