widl-SLTG_Typelib_Support: Fix a compiler warning on x86_64.

This commit is contained in:
Sebastian Lackner 2016-02-08 16:19:44 +01:00
parent 988fe3e9e1
commit 0978242195

View File

@ -682,7 +682,7 @@ index 45cac80..11b4d0c 100644
assert(block->next == NULL);
/* library block */
+ chat("library_block_start = %#x\n", output_buffer_pos);
+ chat("library_block_start = %#lx\n", (SIZE_T)output_buffer_pos);
*library_block_start = output_buffer_pos;
+ chat("sltg_write_header: writing library block %d: %d bytes\n", i, block->length);
put_data(block->data, block->length);
@ -739,7 +739,7 @@ index 45cac80..11b4d0c 100644
sltg_write_typeinfo(typelib);
name_table_offset = (int *)(output_buffer + output_buffer_pos);
+ chat("name_table_offset = %#x\n", output_buffer_pos);
+ chat("name_table_offset = %#lx\n", (SIZE_T)output_buffer_pos);
put_data(&library_block_start, sizeof(library_block_start));
sltg_write_helpstrings(typelib);