Fix some warnings.

svn-id: r38840
This commit is contained in:
Johannes Schickel 2009-02-24 15:14:15 +00:00
parent 8dab4eb461
commit cda5d6989b
3 changed files with 4 additions and 4 deletions

View file

@ -380,7 +380,7 @@ static void _c_single_seg_info(EngineState *s, mem_obj_t *mobj) {
script_t *scr = &(mobj->data.script);
sciprintf("script.%03d locked by %d, bufsize=%d (%x)\n", scr->nr, scr->lockers, (uint)scr->buf_size, (uint)scr->buf_size);
if (scr->export_table)
sciprintf(" Exports: %4d at %d\n", scr->exports_nr, ((byte *)scr->export_table) - ((byte *)scr->buf));
sciprintf(" Exports: %4d at %d\n", scr->exports_nr, (int)(((byte *)scr->export_table) - ((byte *)scr->buf)));
else
sciprintf(" Exports: none\n");