Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
squaroid
squaroid-0.60.3-ia64.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File squaroid-0.60.3-ia64.diff of Package squaroid
--- bot/md5.c +++ bot/md5.c @@ -39,6 +39,7 @@ */ #include "md5.h" +#include <string.h> #ifdef TEST /* @@ -46,7 +47,6 @@ * The test program should print out the same values as given in section * A.5 of RFC 1321, reproduced below. */ -#include <string.h> main() { static const char *const test[7] = { --- libqdwav/wav_read.c +++ libqdwav/wav_read.c @@ -1,5 +1,6 @@ /* operations for verifying and reading wav files. */ +#include <string.h> #include <stdio.h> #include <fcntl.h> #include <sys/stat.h> --- libqdwav/wav_write.c +++ libqdwav/wav_write.c @@ -1,3 +1,4 @@ +#include <string.h> #include <stdio.h> #include <fcntl.h> #include <signal.h> --- plugins/xhigh/xhigh.c +++ plugins/xhigh/xhigh.c @@ -30,7 +30,7 @@ void xhigh_callback_gamemode(GtkWidget *w, gpointer data) { - XHIGH->mode = (int)data; + XHIGH->mode = (int)((long int)data); } ulong xhigh_oninvite(Game *game, GtkWidget **vbox) --- src/game_ai.c +++ src/game_ai.c @@ -3,6 +3,7 @@ by Yair Chuchem */ +#include <string.h> #include <stdio.h> #include <stdlib.h> #include <sys/time.h> --- src/game_invite.c +++ src/game_invite.c @@ -319,7 +319,7 @@ /* cb for the invite dialog: called when the radio buttons states change */ void cb_playrequest_firstplayer(GtkWidget *w, gpointer data) { - game_invited->options.first_player = (int)data; + game_invited->options.first_player = (int)((long int)data); } void cb_playrequest_gamemode(GtkWidget *w, gpointer data) @@ -330,9 +330,9 @@ void cb_playrequest_timelimit(GtkWidget *w, gpointer data) { Game *game = game_invited; - game->options.timeout = (guint)data; + game->options.timeout = (guint)((long int)data); - if ((guint)data == LIMIT_OFF) + if ((guint)((long int)data) == LIMIT_OFF) { if (game->invite_data->hscale && GTK_WIDGET_VISIBLE(game->invite_data->hscale)) @@ -341,7 +341,7 @@ && GTK_WIDGET_VISIBLE(game->invite_data->unit_label)) gtk_widget_hide(game->invite_data->unit_label); } - else if ( (guint)data == LIMIT_PERGAME ) + else if ( (guint)((long int)data) == LIMIT_PERGAME ) { game->invite_data->adjustment->value = 5.0; game->invite_data->adjustment->lower = 2.0; @@ -361,7 +361,7 @@ gtk_widget_show(game->invite_data->unit_label); } - else if ( (guint)data == LIMIT_PERMOVE ) + else if ( (guint)((long int)data) == LIMIT_PERMOVE ) { game->invite_data->adjustment->value = 60.0; game->invite_data->adjustment->lower = 15.0; --- src/menu.c +++ src/menu.c @@ -236,7 +236,7 @@ void cb_aigame_toggle (GtkWidget * w, gpointer data) { - ai_Level = (int) data; + ai_Level = (int) ((long int)data); } void cb_aigame_playertoggle (GtkWidget *w, gpointer data)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor