Skip to content

Commit 9dc9b79

Browse files
committed
Silence some warnings
1 parent babc732 commit 9dc9b79

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

audio/drivers/rsound.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ static ssize_t rs_write(void *data, const void *buf, size_t len)
151151
}
152152
return _len;
153153
}
154+
return 0;
154155
}
155156

156157
static bool rs_stop(void *data)

tasks/task_content.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,8 @@ static void content_file_get_path(
828828
{
829829
if (previous_serialized_path != NULL)
830830
free(previous_serialized_path);
831-
previous_serialized_path = content_path = serialized_path;
831+
previous_serialized_path = (char*)serialized_path;
832+
content_path = (char*)serialized_path;
832833
}
833834
}
834835
}

0 commit comments

Comments
 (0)