Skip to content
Extraits de code Groupes Projets
Valider d9cebc06 rédigé par Etienne BRATEAU's avatar Etienne BRATEAU
Parcourir les fichiers

logcom: remove warnings

parent fa40e680
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
#ifndef LOGSTUFF_H
#define LOGSTUFF_H
extern void init_X_screen(void); extern void init_X_screen(void);
extern void recolor_log_cursors(int color, int force); extern void recolor_log_cursors(int color, int force);
extern void choose_log_cursor(int curs); extern void choose_log_cursor(int curs);
int findprocedure(char *name, void (**proc)());
struct ext_proc { struct ext_proc {
char *name; char *name;
void (*proc)(); void (*proc)();
}; };
#endif
...@@ -44,6 +44,7 @@ ...@@ -44,6 +44,7 @@
#include <utils/newasm.h> #include <utils/newasm.h>
#include <graphics/newcrt.h> #include <graphics/newcrt.h>
#include "logcom.h" #include "logcom.h"
#include "logstuff.h"
#define attr_time 1 #define attr_time 1
#define attr_tstep 2 #define attr_tstep 2
...@@ -453,7 +454,7 @@ void Log_7_time(log_action_t *act_) ...@@ -453,7 +454,7 @@ void Log_7_time(log_action_t *act_)
timeinfo[i].y = -1; timeinfo[i].y = -1;
} }
} }
WITH->actgate->vars = (na_long)(V.y * 2); WITH->actgate->vars = (na_long)(V.y * 2L);
} }
V.x = 0; V.x = 0;
V.y = 0; V.y = 0;
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter