include sa_error.h for proper prototypes and cast away a warning.
Index: test/sa_error.c
===================================================================
--- test/sa_error.c	(revision 1792)
+++ test/sa_error.c	(working copy)
@@ -3,6 +3,7 @@
 #include <stdlib.h>
 #include <errno.h>
 #include "saAis.h"
+#include "sa_error.h"
 
 const char *sa_error_list[] = {
 	"OUT_OF_RANGE",
@@ -55,7 +56,7 @@
 static char test_result[256];
 
         if (result == expected) {
-                return ("PASSED");
+                return ((char *)"PASSED");
         } else {
                 sprintf (test_result,
                         "FAILED expected %s got %s",
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to