commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] Hurd branch, master, updated. v0.7-31-g2280227


From: Samuel Thibault
Subject: [SCM] Hurd branch, master, updated. v0.7-31-g2280227
Date: Tue, 29 Dec 2015 20:57:08 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hurd".

The branch, master has been updated
       via  2280227bedf69b733a589f12ac6b6d5a4fc36af4 (commit)
      from  6ca2aa1284a5e82df0193d2727941420361bc50f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2280227bedf69b733a589f12ac6b6d5a4fc36af4
Author: Flavio Cruz <address@hidden>
Date:   Tue Dec 29 21:17:25 2015 +0100

    fix compiler warnings in hurd/console-client
    
    On Tue, Dec 29, 2015 at 08:43:24PM +0100, Samuel Thibault wrote:
    > Flavio Cruz, on Tue 29 Dec 2015 17:35:00 +0100, wrote:
    > > @@ -663,10 +663,11 @@ update_leds (void)
    > >         | (led_state.num_lock ? 2 : 0)
    > >         | (led_state.caps_lock ? 4 : 0);
    > >
    > > -      err = device_write_inband (kbd_dev, 0, -1, (void *) leds, 2, 
&data_cnt);
    > > +      err = device_write_inband (kbd_dev, 0, -1, (void *) leds, 2,
    > > +                                 (int *) &data_cnt);
    > >        if (!err && data_cnt == 1)
    > >         err = device_write_inband (kbd_dev, 0, -1, (void *) &leds[1], 1,
    > > -                                  &data_cnt);
    > > +                                  (int *) &data_cnt);
    > >      }
    > >  }
    > >
    >
    > I'm surprised: if the device_write_inband RPC really wants an int*, why
    > not making data_cnt an int?
    
    That works better. Thanks.
    
    console-client: Fix compiler warning.
    
    * console-client/pc-kbd.c (update_leds): Replace mach_msg_type_number_t with
    int.

-----------------------------------------------------------------------

Summary of changes:
 console-client/pc-kbd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Hurd



reply via email to

[Prev in Thread] Current Thread [Next in Thread]