diff --git a/drivers/syslog/ramlog.c b/drivers/syslog/ramlog.c index 8f219994c5..80228d49fe 100644 --- a/drivers/syslog/ramlog.c +++ b/drivers/syslog/ramlog.c @@ -233,7 +233,7 @@ static void ramlog_pollnotify(FAR struct ramlog_dev_s *priv, * Name: ramlog_addchar ****************************************************************************/ -static int ramlog_addchar(FAR struct ramlog_dev_s *priv, char ch) +static ssize_t ramlog_addchar(FAR struct ramlog_dev_s *priv, char ch) { irqstate_t flags; size_t nexthead;