RPM Community Forums

Mailing List Message of <rpm-cvs>

[CVS] RPM: rpm/rpmconstant/ constant.c

From: Ralf S. Engelschall <rse@rpm5.org>
Date: Wed 25 Jul 2007 - 08:18:20 CEST
Message-Id: <20070725061820.09F813484F5@rpm5.org>
  RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Ralf S. Engelschall
  Root:   /v/rpm/cvs                       Email:  rse@rpm5.org
  Module: rpm                              Date:   25-Jul-2007 08:18:20
  Branch: HEAD                             Handle: 2007072507181900

  Modified files:
    rpm/rpmconstant         constant.c

  Log:
    use the correct type for using poptGetNextOpt calls

  Summary:
    Revision    Changes     Path
    1.3         +2  -2      rpm/rpmconstant/constant.c
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/rpmconstant/constant.c
  ============================================================================
  $ cvs diff -u -r1.2 -r1.3 constant.c
  --- rpm/rpmconstant/constant.c	25 Jul 2007 06:17:29 -0000	1.2
  +++ rpm/rpmconstant/constant.c	25 Jul 2007 06:18:19 -0000	1.3
  @@ -1,5 +1,5 @@
   /* Nanar <nanardon@zarb.org>
  - * $Id: constant.c,v 1.2 2007/07/25 06:17:29 rse Exp $
  + * $Id: constant.c,v 1.3 2007/07/25 06:18:19 rse Exp $
    */
   
   #include "rpmconstant.h"
  @@ -7,7 +7,7 @@
   
   int main(int argc, const char *argv[]) {
       char * context =NULL;
  -    char c;
  +    int c;
       const char * name;
       int val = 0;
       int token;
  @@ .
Received on Wed Jul 25 08:18:20 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.