Skip to content
Snippets Groups Projects
Commit b8bbe582 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Resolve GCC warnings: ‘%02d’ directive writing between 2 and 3 bytes into a region of size...

parent ea44c50a
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
...@@ -237,7 +237,7 @@ G_MODULE_EXPORT void on_todays_log1_activate(GtkWidget *wiggy, gpointer data) ...@@ -237,7 +237,7 @@ G_MODULE_EXPORT void on_todays_log1_activate(GtkWidget *wiggy, gpointer data)
{ {
time_t t; time_t t;
struct tm *tm; struct tm *tm;
char fn[20]; char fn[120];
t=time(NULL); t=time(NULL);
tm=localtime(&t); tm=localtime(&t);
...@@ -249,7 +249,7 @@ G_MODULE_EXPORT void on_yesterdays_log1_activate(GtkWidget *wiggy, gpointer data ...@@ -249,7 +249,7 @@ G_MODULE_EXPORT void on_yesterdays_log1_activate(GtkWidget *wiggy, gpointer data
{ {
time_t t; time_t t;
struct tm *tm; struct tm *tm;
char fn[20]; char fn[120];
t=time(NULL); t=time(NULL);
t-=24*60*60; t-=24*60*60;
...@@ -260,7 +260,7 @@ G_MODULE_EXPORT void on_yesterdays_log1_activate(GtkWidget *wiggy, gpointer data ...@@ -260,7 +260,7 @@ G_MODULE_EXPORT void on_yesterdays_log1_activate(GtkWidget *wiggy, gpointer data
G_MODULE_EXPORT void on_another_days_log1_activate(GtkWidget *wiggy, gpointer data) { G_MODULE_EXPORT void on_another_days_log1_activate(GtkWidget *wiggy, gpointer data) {
isoDate_t date; isoDate_t date;
char fn[20]; char fn[120];
date=time_to_isoDate(time(NULL)); date=time_to_isoDate(time(NULL));
get_date(wiggy, &date); get_date(wiggy, &date);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment