Cast the return from alloca to work better on UNICOS.
[rsync/rsync.git] / popt / poptconfig.c
index 58ccf01..d6603e5 100644 (file)
@@ -18,7 +18,7 @@ static void configLine(poptContext con, char * line)
     /*@=type@*/
     const char * entryType;
     const char * opt;
-    poptItem item = alloca(sizeof(*item));
+    poptItem item = (poptItem) alloca(sizeof(*item));
     int i, j;
     
     memset(item, 0, sizeof(*item));