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);
}
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;