Index: uspace/app/trace/ipcp.c
===================================================================
--- uspace/app/trace/ipcp.c	(revision 94e152aec063e7f1ace9c768fdc0c53ad9125015)
+++ uspace/app/trace/ipcp.c	(revision 2e3355ac02c28ade6ed5fa69cd4c232cd4580366)
@@ -288,5 +288,5 @@
 		oper = pcall->oper;
 
-		if (oper != NULL && oper->rv_type != V_VOID || oper->respc > 0) {
+		if (oper != NULL && (oper->rv_type != V_VOID || oper->respc > 0)) {
 			printf("->");
 
Index: uspace/lib/libc/generic/task.c
===================================================================
--- uspace/lib/libc/generic/task.c	(revision 94e152aec063e7f1ace9c768fdc0c53ad9125015)
+++ uspace/lib/libc/generic/task.c	(revision 2e3355ac02c28ade6ed5fa69cd4c232cd4580366)
@@ -124,5 +124,5 @@
  * @return	ID of the newly created task or zero on error.
  */
-task_id_t task_spawn(const char *path, const char *argv[])
+task_id_t task_spawn(const char *path, char *const argv[])
 {
 	int phone_id;
Index: uspace/lib/libc/generic/udebug.c
===================================================================
--- uspace/lib/libc/generic/udebug.c	(revision 94e152aec063e7f1ace9c768fdc0c53ad9125015)
+++ uspace/lib/libc/generic/udebug.c	(revision 2e3355ac02c28ade6ed5fa69cd4c232cd4580366)
@@ -58,6 +58,14 @@
 	size_t *copied, size_t *needed)
 {
-	return async_req_3_3(phoneid, IPC_M_DEBUG_ALL, UDEBUG_M_THREAD_READ,
-		(sysarg_t)buffer, n, NULL, copied, needed);
+	ipcarg_t a_copied, a_needed;
+	int rc;
+
+	rc = async_req_3_3(phoneid, IPC_M_DEBUG_ALL, UDEBUG_M_THREAD_READ,
+		(sysarg_t)buffer, n, NULL, &a_copied, &a_needed);
+
+	*copied = (size_t)a_copied;
+	*needed = (size_t)a_needed;
+
+	return rc;
 }
 
@@ -77,6 +85,12 @@
     sysarg_t *val0, sysarg_t *val1)
 {
-	return async_req_2_3(phoneid, IPC_M_DEBUG_ALL, UDEBUG_M_GO,
-	    tid, (sysarg_t)ev_type, (sysarg_t)val0, (sysarg_t)val1);
+	ipcarg_t a_ev_type;
+	int rc;
+
+	rc =  async_req_2_3(phoneid, IPC_M_DEBUG_ALL, UDEBUG_M_GO,
+	    tid, &a_ev_type, val0, val1);
+
+	*ev_type = a_ev_type;
+	return rc;
 }
 
Index: uspace/lib/libc/include/task.h
===================================================================
--- uspace/lib/libc/include/task.h	(revision 94e152aec063e7f1ace9c768fdc0c53ad9125015)
+++ uspace/lib/libc/include/task.h	(revision 2e3355ac02c28ade6ed5fa69cd4c232cd4580366)
@@ -41,5 +41,5 @@
 
 extern task_id_t task_get_id(void);
-extern task_id_t task_spawn(const char *path, const char *argv[]);
+extern task_id_t task_spawn(const char *path, char *const argv[]);
 
 #endif
