X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=octopi%2Flibrary%2Ftests_octopus%2Ft_bin_threaded.cpp;fp=octopi%2Flibrary%2Ftests_octopus%2Ft_bin_threaded.cpp;h=e939c9b96dca6b4043971d12c6e1cfcb342478bc;hb=7b39f7e279005c8466ef508220a532ce2aa4abf8;hp=df719f74acc8e05e7b29a4d670ec07eee5014716;hpb=3fbd372b35b15a19fb171d5ae34294ff7b1e6485;p=feisty_meow.git diff --git a/octopi/library/tests_octopus/t_bin_threaded.cpp b/octopi/library/tests_octopus/t_bin_threaded.cpp index df719f74..e939c9b9 100644 --- a/octopi/library/tests_octopus/t_bin_threaded.cpp +++ b/octopi/library/tests_octopus/t_bin_threaded.cpp @@ -285,7 +285,7 @@ int test_entity_data_bin_threaded::execute() amorph thread_list; for (int i = 0; i < DEFAULT_THREADS; i++) { - ethread *t = NIL; + ethread *t = NULL_POINTER; if (i == DEFAULT_THREADS - 1) { // last item gets special treatment; we reserve this space for monk. t = new monk_the_detective; @@ -301,7 +301,7 @@ int test_entity_data_bin_threaded::execute() if (q != t) deadly_error(class_name(), func, "amorph has incorrect pointer!"); // start the thread we added. - thread_list[thread_list.elements() - 1]->start(NIL); + thread_list[thread_list.elements() - 1]->start(NULL_POINTER); } time_stamp when_to_leave(DEFAULT_RUN_TIME);