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

Re: [libvirt] [PATCH 03/32] Convert 'int i' to 'size_t i' in src/util/ files



On 07/08/2013 04:21 PM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange redhat com>
> 
> Convert the type of loop iterators named 'i', 'j', k',
> 'ii', 'jj', 'kk', to be 'size_t' instead of 'int' or
> 'unsigned int', also santizing 'ii', 'jj', 'kk' to use
> the normal 'i', 'j', 'k' naming
> 
> Signed-off-by: Daniel P. Berrange <berrange redhat com>
> ---
>  src/util/virbitmap.c             | 13 +++++++------
>  src/util/vircgroup.c             | 32 ++++++++++++++++----------------
>  src/util/vircommand.c            | 10 +++++-----
>  src/util/virdnsmasq.c            | 16 ++++++++--------
>  src/util/virebtables.c           |  8 ++++----
>  src/util/vireventpoll.c          | 28 ++++++++++++++--------------
>  src/util/virhook.c               |  3 ++-
>  src/util/virjson.c               | 12 ++++++------
>  src/util/virkeycode.c            |  4 ++--
>  src/util/virlog.c                | 30 +++++++++++++++---------------
>  src/util/virlog.h                |  2 +-
>  src/util/virmacaddr.c            |  2 +-
>  src/util/virnetdevmacvlan.c      |  2 +-
>  src/util/virnetdevopenvswitch.c  |  2 +-
>  src/util/virnetdevtap.c          |  4 ++--
>  src/util/virnetdevvportprofile.c |  2 +-
>  src/util/virnetlink.c            | 14 ++++++++------
>  src/util/virnuma.c               | 13 +++++++------
>  src/util/virpci.c                | 14 +++++++-------
>  src/util/virportallocator.c      |  8 ++++----
>  src/util/virprocess.c            |  7 ++++---
>  src/util/virscsi.c               |  6 +++---
>  src/util/virsocketaddr.c         | 28 ++++++++++++++--------------
>  src/util/virstoragefile.c        |  7 ++++---
>  src/util/virstring.c             |  3 ++-
>  src/util/virsysinfo.c            |  6 +++---
>  src/util/virthreadwin32.c        |  6 +++---
>  src/util/virthreadwin32.h        |  2 +-
>  src/util/virtypedparam.c         | 10 +++++-----
>  src/util/viruri.c                |  2 +-
>  src/util/virusb.c                |  6 +++---
>  src/util/virutil.c               | 29 ++++++++++++++++-------------
>  src/util/viruuid.c               |  7 ++++---
>  33 files changed, 175 insertions(+), 163 deletions(-)
> 

ACK

Jan


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