]> git.pld-linux.org Git - packages/openhpi.git/commitdiff
- more changes for 1.0.0
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 3 Jul 2004 19:24:16 +0000 (19:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    openhpi-align.patch -> 1.3
    openhpi-types.patch -> 1.6

openhpi-align.patch
openhpi-types.patch

index 7f74017f3342662eba8f8cb61325f4a7fa30cc40..866f7760c0aadc6dce120b0900d2490c9cf4060f 100644 (file)
         return -1;
  
    size += l;
+@@ -682,7 +682,7 @@
+        size += s;
+        b    += s;
+-       *tbp = (SaHpiTextBufferT *)data;
++       *tbp = (SaHpiTextBufferT *)(void*)data;
+        data += sizeof( SaHpiTextBufferT );
+        *data_size += sizeof( SaHpiTextBufferT );
+@@ -853,7 +853,7 @@
+      {
+        tUint32 data_size;
+-       id->DataRecords[i] = (SaHpiInventDataRecordT *)data_ptr;
++       id->DataRecords[i] = (SaHpiInventDataRecordT *)(void*)data_ptr;
+        s = SaHpiInventDataRecordDemarshaller( byte_order, id->DataRecords[i], b, &data_size );
+        if ( s < 0 )
+--- openhpi-1.0.0/plugins/ipmi/ipmi_controls.c.orig    2004-06-14 06:38:42.000000000 +0000
++++ openhpi-1.0.0/plugins/ipmi/ipmi_controls.c 2004-07-03 15:13:28.000000000 +0000
+@@ -111,7 +111,7 @@
+         }
+                         
+         ipmi_control_set_val(control, 
+-                             (int *)&info->state->StateUnion.Oem.Body[0],
++                             (int *)(void*)&info->state->StateUnion.Oem.Body[0],
+                              __set_control_state, info);
+ }
index 4a9341e0f579776f40c8157efdc8096a31011d14..64a866beddabc2a095128cc79eff57456a72548a 100644 (file)
  
            Output( b );
          }
+--- openhpi-1.0.0/hpi_shell/hpi_cmd.c.orig     2004-06-28 22:06:50.000000000 +0000
++++ openhpi-1.0.0/hpi_shell/hpi_cmd.c  2004-07-03 16:00:27.000000000 +0000
+@@ -456,7 +456,7 @@
+    printf("Command> ");
+    rv = pthread_create(&discover_thread, NULL, sahpi_discover_thread,
+-                    (void *)sessionid);
++                    (void *)(size_t)sessionid);
+    if (rv)
+      printf("Error creating event thread\n");
+@@ -528,7 +528,7 @@
+       struct timeval to;
+       while (thread == 1) {
+-              rv = saHpiResourcesDiscover((SaHpiSessionIdT) sessionid);
++              rv = saHpiResourcesDiscover((SaHpiSessionIdT)(size_t)sessionid);
+               if (rv != SA_OK)
+                       printf("discovery failed\n");
This page took 0.39666 seconds and 4 git commands to generate.