RPM Community Forums

Mailing List Message of <rpm-cvs>

[CVS] RPM: rpm-5_3: rpm/lib/ rpm4compat.h

From: Per Øyvind Karlsen <pkarlsen@rpm5.org>
Date: Wed 11 Aug 2010 - 08:54:57 CEST
Message-Id: <20100811065457.B8D57C5F60@rpm5.org>
  RPM Package Manager, CVS Repository
  /cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Per Øyvind Karlsen
  Root:   /v/rpm/cvs                       Email:  pkarlsen@rpm5.org
  Module: rpm                              Date:   11-Aug-2010 08:54:57
  Branch: rpm-5_3                          Handle: 2010081106545700

  Modified files:           (Branch: rpm-5_3)
    rpm/lib                 rpm4compat.h

  Log:
    do more correct c++-style casting for rpmdsSingle() wrapper

  Summary:
    Revision    Changes     Path
    2.30.2.1    +2  -2      rpm/lib/rpm4compat.h
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/lib/rpm4compat.h
  ============================================================================
  $ cvs diff -u -r2.30 -r2.30.2.1 rpm4compat.h
  --- rpm/lib/rpm4compat.h	27 Jan 2010 17:14:04 -0000	2.30
  +++ rpm/lib/rpm4compat.h	11 Aug 2010 06:54:57 -0000	2.30.2.1
  @@ -1,7 +1,7 @@
   /*
    * Copyright © 2008 Per Øyvind Karlsen <peroyvind@mandriva.org>
    *
  - * $Id: rpm4compat.h,v 2.30 2010/01/27 17:14:04 bero Exp $
  + * $Id: rpm4compat.h,v 2.30.2.1 2010/08/11 06:54:57 pkarlsen Exp $
    */
   
   #ifndef	H_RPM4COMPAT
  @@ -405,7 +405,7 @@
   }
   
   static inline rpmds rpmdsSingle(rpmTag tagN, const char * N, const char * EVR, int_32 Flags){
  -	return rpmdsSingle(tagN, N, EVR, (evrFlags)Flags);
  +	return rpmdsSingle(tagN, N, EVR, static_cast<evrFlags>(Flags));
   }
   #endif
   
  @@ .
Received on Wed Aug 11 08:54:57 2010
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.