Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:ARM:Factory:Contrib:ILP32
lightdm
ilp32.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ilp32.patch of Package lightdm
Index: lightdm-1.30.0/liblightdm-gobject/greeter.c =================================================================== --- lightdm-1.30.0.orig/liblightdm-gobject/greeter.c +++ lightdm-1.30.0/liblightdm-gobject/greeter.c @@ -411,7 +411,7 @@ read_int (guint8 *message, gsize message { if (message_length - *offset < int_length ()) { - g_warning ("Not enough space for int, need %i, got %zi", int_length (), message_length - *offset); + g_warning ("Not enough space for int, need %i, got %" G_GSIZE_FORMAT, int_length (), message_length - *offset); return 0; } @@ -428,7 +428,7 @@ read_string (guint8 *message, gsize mess guint32 length = read_int (message, message_length, offset); if (message_length - *offset < length) { - g_warning ("Not enough space for string, need %u, got %zu", length, message_length - *offset); + g_warning ("Not enough space for string, need %u, got %" G_GSIZE_FORMAT, length, message_length - *offset); return g_strdup (""); } @@ -526,7 +526,7 @@ send_message (LightDMGreeter *greeter, g if (stated_length != message_length) { g_set_error (error, LIGHTDM_GREETER_ERROR, LIGHTDM_GREETER_ERROR_COMMUNICATION_ERROR, - "Refusing to write malformed packet to daemon: declared size is %u, but actual size is %zu", + "Refusing to write malformed packet to daemon: declared size is %u, but actual size is %" G_GSIZE_FORMAT, stated_length, message_length); return FALSE; } @@ -550,7 +550,7 @@ send_message (LightDMGreeter *greeter, g data += n_written; } - g_debug ("Wrote %zi bytes to daemon", message_length); + g_debug ("Wrote %" G_GSIZE_FORMAT " bytes to daemon", message_length); g_autoptr(GError) flush_error = NULL; if (!g_io_channel_flush (priv->to_server_channel, &flush_error)) { @@ -861,7 +861,7 @@ recv_message (LightDMGreeter *greeter, g return FALSE; } - g_debug ("Read %zi bytes from daemon", n_read); + g_debug ("Read %" G_GSIZE_FORMAT " bytes from daemon", n_read); priv->n_read += n_read; } while (priv->n_read < n_to_read && block); Index: lightdm-1.30.0/src/greeter.c =================================================================== --- lightdm-1.30.0.orig/src/greeter.c +++ lightdm-1.30.0/src/greeter.c @@ -781,7 +781,7 @@ read_int (Greeter *greeter, gsize *offse if (priv->n_read - *offset < sizeof (guint32)) { - g_warning ("Not enough space for int, need %zu, got %zu", sizeof (guint32), priv->n_read - *offset); + g_warning ("Not enough space for int, need %zu, got %" G_GSIZE_FORMAT, sizeof (guint32), priv->n_read - *offset); return 0; } guint8 *buffer = priv->read_buffer + *offset; @@ -816,7 +816,7 @@ read_string_full (Greeter *greeter, gsiz guint32 length = read_int (greeter, offset); if (priv->n_read - *offset < length) { - g_warning ("Not enough space for string, need %u, got %zu", length, priv->n_read - *offset); + g_warning ("Not enough space for string, need %u, got %" G_GSIZE_FORMAT, length, priv->n_read - *offset); return g_strdup (""); } Index: lightdm-1.30.0/tests/src/xdmcp-client.c =================================================================== --- lightdm-1.30.0.orig/tests/src/xdmcp-client.c +++ lightdm-1.30.0/tests/src/xdmcp-client.c @@ -63,7 +63,7 @@ xdmcp_write (XDMCPClient *client, const if (n_written < 0) g_warning ("Failed to send XDMCP request: %s", error->message); else if (n_written != buffer_length) - g_warning ("Partial write for XDMCP request, wrote %zi, expected %zi", n_written, buffer_length); + g_warning ("Partial write for XDMCP request, wrote %" G_GSSIZE_FORMAT ", expected %" G_GSSIZE_FORMAT, n_written, buffer_length); } static void @@ -211,7 +211,7 @@ xdmcp_data_cb (GIOChannel *channel, GIOC } if (6 + length > n_read) { - g_debug ("Ignoring XDMCP message of length %zi with invalid length field %d", n_read, length); + g_debug ("Ignoring XDMCP message of length %" G_GSSIZE_FORMAT " with invalid length field %d", n_read, length); return TRUE; } switch (opcode)
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