rpms/python-openhpi/devel python-openhpi-totaltests.patch,NONE,1.1

Dan Horák sharkcz at fedoraproject.org
Fri Jan 15 08:50:10 UTC 2010


Author: sharkcz

Update of /cvs/pkgs/rpms/python-openhpi/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10632

Added Files:
	python-openhpi-totaltests.patch 
Log Message:
add missing file

python-openhpi-totaltests.patch:
 openhpi.i |    3 +--
 sahpi.i   |    2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

--- NEW FILE python-openhpi-totaltests.patch ---
diff --git a/openhpi.i b/openhpi.i
index 62099ae..dcd1694 100644
--- a/openhpi.i
+++ b/openhpi.i
@@ -699,7 +699,6 @@ int memcmp(const void *s1, const void *s2, size_t n);
 %sizeof(SaHpiDimiTestVariableParamsT)
 %sizeof(SaHpiDimiTestPercentCompletedT)
 %sizeof(SaHpiDimiReadyT)
-%sizeof(SaHpiDimiTotalTestsT)
 %sizeof(SaHpiDimiInfoT)
 %sizeof(SaHpiDimiRecT)
 %sizeof(SaHpiFumiNumT)
@@ -1236,7 +1235,7 @@ int memcmp(const void *s1, const void *s2, size_t n);
 };
 
 %extend SaHpiDimiInfoT {
-	SaHpiDimiInfoT(SaHpiDimiTotalTestsT NumberOfTests = 0, SaHpiUint32T TestNumUpdateCounter = 0) {
+	SaHpiDimiInfoT(SaHpiUint32T NumberOfTests = 0, SaHpiUint32T TestNumUpdateCounter = 0) {
 		SaHpiDimiInfoT *o;
 		o = (SaHpiDimiInfoT *)malloc(sizeof(SaHpiDimiInfoT));
 		memset(o, 0, sizeof(SaHpiDimiInfoT));
diff --git a/sahpi.i b/sahpi.i
index eaf825d..2fadc1b 100644
--- a/sahpi.i
+++ b/sahpi.i
@@ -2238,7 +2238,7 @@ typedef enum {
 typedef SaHpiUint32T SaHpiDimiTotalTestsT;
 
 typedef struct {
-    SaHpiDimiTotalTestsT    NumberOfTests;  /* It is recommended that the DIMI
+    SaHpiUint32T    NumberOfTests;  /* It is recommended that the DIMI
                                                 advertise all available tests
                                                 regardless of ServiceImpact or
                                                 Service OS */



More information about the scm-commits mailing list