Bug: https://bugs.freedesktop.org/show_bug.cgi?id=17289
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
if (end != length)
{
- if ((end + strlen ("path")) == length &&
+ int len1 = strlen ("path");
+ if ((end + len1) == length &&
_dbus_string_ends_with_c_str (&key_str, "path"))
{
is_path = TRUE;
close_unix_fds(int *fds, unsigned *n_fds)
{
DBusError e;
- int i;
+ unsigned int i;
if (*n_fds <= 0)
return;
static void
print_hex (const unsigned char *bytes,
- int len,
+ unsigned int len,
int depth)
{
unsigned int i, columns;
int i;
int count = 1;
int sent = 0;
- int sent_in_this_conn = 0;
+ unsigned int sent_in_this_conn = 0;
int received = 0;
- int received_before_this_conn = 0;
+ unsigned int received_before_this_conn = 0;
int queue_len = 1;
const char *payload = NULL;
char *payload_buf = NULL;