diff uptools/atcmd/smwrite.c @ 467:dc2fd8e6f42c

uptools/atcmd: null pointer passing fixes
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 11 Feb 2019 22:17:46 +0000
parents ce3b57b8920b
children
line wrap: on
line diff
--- a/uptools/atcmd/smwrite.c	Mon Feb 11 05:50:45 2019 +0000
+++ b/uptools/atcmd/smwrite.c	Mon Feb 11 22:17:46 2019 +0000
@@ -130,9 +130,9 @@
 	process_cmdline(argc, argv);
 	atinterf_init();
 	/* enable verbose error messages */
-	atinterf_exec_cmd_needok("AT+CMEE=2", 0, 0);
+	atinterf_exec_cmd_needok("AT+CMEE=2", (char *) 0, (void *) 0);
 	/* set PDU mode */
-	atinterf_exec_cmd_needok("AT+CMGF=0", 0, 0);
+	atinterf_exec_cmd_needok("AT+CMGF=0", (char *) 0, (void *) 0);
 	/* process stdin */
 	while (process_record())
 		;