mirror of
https://github.com/kichikuou/xsystem35-sdl2.git
synced 2026-09-22 22:48:08 +03:00
Fix more compiler warnings
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
/* $Id: ndd.c,v 1.2 2003/11/09 15:06:12 chikama Exp $ */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "portab.h"
|
||||
#include "ags.h"
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@
|
||||
typedef struct {
|
||||
char *title;
|
||||
char *oldstring;
|
||||
char *newstring;
|
||||
const char *newstring;
|
||||
int max;
|
||||
/* for MJ cmd */
|
||||
boolean need_window;
|
||||
|
||||
+1
-1
@@ -50,7 +50,7 @@ GtkWidget *menu_label_msgbox;
|
||||
GtkWidget *menu_spinbutton;
|
||||
GtkWidget *menu_textentry;
|
||||
GtkWidget *menu_textentry2;
|
||||
gchar *menu_textentry_string;
|
||||
const gchar *menu_textentry_string;
|
||||
|
||||
GtkWidget *menu_window_popup; /* popup menu */
|
||||
GtkWidget *menu_window_exit; /* exit window */
|
||||
|
||||
+1
-1
@@ -44,7 +44,7 @@ extern GtkWidget *menu_label_msgbox;
|
||||
extern GtkWidget *menu_spinbutton;
|
||||
extern GtkWidget *menu_textentry;
|
||||
extern GtkWidget *menu_textentry2;
|
||||
extern gchar *menu_textentry_string;
|
||||
extern const gchar *menu_textentry_string;
|
||||
|
||||
extern GtkWidget *menu_window_popup; /* popup menu */
|
||||
extern GtkWidget *menu_window_exit; /* exit window */
|
||||
|
||||
+3
-3
@@ -78,9 +78,9 @@ struct midiinfo {
|
||||
int ceptr; /* current event pointer */
|
||||
|
||||
/* work info */
|
||||
long curtime; /* current time */
|
||||
int msgindex; /* midi message buffer index */
|
||||
int msgsize; /* size of current allocaed msg */
|
||||
long curtime; /* current time */
|
||||
size_t msgindex; /* midi message buffer index */
|
||||
size_t msgsize; /* size of current allocaed msg */
|
||||
unsigned char *msgbuffer; /* message buffer */
|
||||
|
||||
/* system35 jump info */
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xutil.h>
|
||||
|
||||
+1
-1
@@ -489,7 +489,7 @@ void Xcore_fadeIn(int step) {
|
||||
}
|
||||
}
|
||||
|
||||
void Xcore_fadeOut(step) {
|
||||
void Xcore_fadeOut(int step) {
|
||||
|
||||
if (step == 0) {
|
||||
Xcore_sync();
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
|
||||
#ifdef HAVE_XF86VMODE
|
||||
# include <X11/extensions/xf86vmode.h>
|
||||
# include <X11/extensions/xf86vmstr.h>
|
||||
#endif
|
||||
|
||||
#include "portab.h"
|
||||
|
||||
Reference in New Issue
Block a user