Skip to content

Commit

Permalink
app_rpt: Fix variable typing issue. (#440)
Browse files Browse the repository at this point in the history
This function returns char*, but the variable is typed
const char* by mistake; this fixes that.

Resolves: #439
  • Loading branch information
InterLinked1 authored Dec 30, 2024
1 parent f0eab79 commit 5101b1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/app_rpt/rpt_manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ extern struct rpt rpt_vars[MAXRPTS];
static char *ctime_no_newline(const time_t *clock)
{
static char buf[32];
const char *cp;
char *cp;
size_t len;

cp = ctime_r(clock, buf);
Expand Down

0 comments on commit 5101b1b

Please sign in to comment.