Cleaning Up Some Warnings
This commit is contained in:
parent
0f7e9e7ffa
commit
2b32bad34f
|
|
@ -185,14 +185,18 @@ init_libexpress() {
|
|||
|
||||
init_system_type_handles();
|
||||
|
||||
PandaSystem *ps = PandaSystem::get_global_ptr();
|
||||
|
||||
#ifdef HAVE_ZLIB
|
||||
{
|
||||
PandaSystem *ps = PandaSystem::get_global_ptr();
|
||||
ps->add_system("zlib");
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_THREADS
|
||||
{
|
||||
PandaSystem *ps = PandaSystem::get_global_ptr();
|
||||
ps->add_system("threads");
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ dump_hex(ostream &out) const {
|
|||
size_t num_bytes = get_length();
|
||||
for (size_t line = 0; line < num_bytes; line += 16) {
|
||||
char hex[12];
|
||||
sprintf(hex, "%04x ", line);
|
||||
sprintf(hex, "%04x ", ((unsigned int )line));
|
||||
out << hex;
|
||||
|
||||
size_t p;
|
||||
|
|
|
|||
Loading…
Reference in New Issue