]> andersk Git - moira.git/commitdiff
Added casts for RT compile.
authorqjb <qjb>
Sun, 7 Aug 1988 18:40:21 +0000 (18:40 +0000)
committerqjb <qjb>
Sun, 7 Aug 1988 18:40:21 +0000 (18:40 +0000)
clients/moira/pobox.c

index fcc348ce9ef2400d7e3ade7488f975bfa315ed38..374d859aa03d990efcef25d2cf141b762c5e727b 100644 (file)
@@ -78,7 +78,7 @@ PrintPOMachines()
     struct qelem * top = NULL;
     
     if ( (status = sms_query("get_server_locations", CountArgs(args), args,
-                            StoreInfo, &top)) != SMS_SUCCESS) {
+                            StoreInfo, (char *)&top)) != SMS_SUCCESS) {
        com_err(program_name, status, " in get_server_locations.");
        return(SUB_ERROR);
     }
@@ -108,7 +108,8 @@ char ** argv;
     if (!ValidName(argv[1]))
        return(DM_NORMAL);
     
-    switch (status = sms_query("get_pobox", 1, argv + 1, StoreInfo, &top)) {
+    switch (status = sms_query("get_pobox", 1, argv + 1, StoreInfo, 
+                              (char *)&top)) {
     case SMS_NO_MATCH:
        Put_message("This user has no P.O. Box.");
        break;
This page took 0.379452 seconds and 5 git commands to generate.