Tooltalk fixes for OpenBSD. This consists mainly of #ifdefs, casts and some small type nits.

This commit is contained in:
Pascal Stumpf
2012-08-10 14:07:06 +02:00
committed by Jon Trulson
parent 3d5a492038
commit 3b77d7c065
39 changed files with 129 additions and 62 deletions

View File

@@ -41,6 +41,7 @@
#include <sys/stat.h>
#include <sys/param.h>
#include <errno.h>
#include <stdint.h>
#include <unistd.h>
#include <nl_types.h>
@@ -2773,7 +2774,7 @@ _tt_run_garbage_collect(int in_parallel)
}
} else {
#endif /* OPT_AUTO_GARBAGE_COLLECT*/
exit((int)_tt_garbage_collect(NULL));
exit((intptr_t)_tt_garbage_collect(NULL));
#if defined(OPT_AUTO_GARBAG_COLLECT)
}
#endif /* OPT_AUTO_GARBAGE_COLLECT*/