Commit 1a81cee0 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix warnings

parent 7eaa2e30
......@@ -2132,7 +2132,7 @@ static char *CacheName( void )
/* Code int size, pointer size and endianness in the filename */
int32_t x = 0xbe00001e;
sprintf( psz_cachename, "plugins-%.2lx%.2lx%.2x.dat", sizeof(int),
sprintf( psz_cachename, "plugins-%.2x%.2x%.2x.dat", sizeof(int),
sizeof(void *), (unsigned int)((unsigned char *)&x)[0] );
return psz_cachename;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment