Internal scheduler initialization cannot return NULL anymore.
[silc.git] / lib / silcutil / symbian / silcsymbianscheduler.cpp
index bf3ee235e0f6811afe0014c6b3b6c0dcc9a1b2ce..d8a8a1836327efbd6f8dd3f044a309c6bf2a425f 100644 (file)
@@ -4,7 +4,7 @@
 \r
   Author: Pekka Riikonen <priikone@silcnet.org>\r
 \r
-  Copyright (C) 1998 - 2006 Pekka Riikonen\r
+  Copyright (C) 1998 - 2007 Pekka Riikonen\r
 \r
   This program is free software; you can redistribute it and/or modify\r
   it under the terms of the GNU General Public License as published by\r
@@ -48,7 +48,7 @@ void *silc_schedule_internal_init(SilcSchedule schedule,
                                  void *app_context)\r
 {\r
   /* Nothing to do */\r
-  return NULL;\r
+  return (void *)1;\r
 }\r
 \r
 \r