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=d7e8a05960951d8ce67e36c587726a851e2f5165;hp=df719f74acc8e05e7b29a4d670ec07eee5014716;hpb=fa30e6adff1dea5d6b3903279ef024dd3bed043f;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);