Guest User

patch-int2long

a guest
May 23rd, 2016
103
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff -Nur src.orig/2.3.6/hdfi/MEDattrNumEcrire.c src/2.3.6/hdfi/MEDattrNumEcrire.c
  2. --- src.orig/2.3.6/hdfi/MEDattrNumEcrire.c 2015-09-07 18:55:34.000000000 +0200
  3. +++ src/2.3.6/hdfi/MEDattrNumEcrire.c 2016-05-24 02:15:27.450098778 +0200
  4. @@ -36,7 +36,7 @@
  5. {
  6. med_idt aid,attr;
  7. med_err ret;
  8. - int type_hdf;
  9. + long type_hdf;
  10. med_mode_acces MED_MODE_ACCES;
  11.  
  12. if ( (MED_MODE_ACCES = _MEDmodeAcces(pere) ) == MED_UNDEF_MODE_ACCES ) {
  13. diff -Nur src.orig/hdfi/_MEDattributeNumRdByName.c src/hdfi/_MEDattributeNumRdByName.c
  14. --- src.orig/hdfi/_MEDattributeNumRdByName.c 2015-09-07 18:55:16.000000000 +0200
  15. +++ src/hdfi/_MEDattributeNumRdByName.c 2016-05-24 02:15:27.443432111 +0200
  16. @@ -27,7 +27,7 @@
  17. {
  18. med_idt _attid=0;
  19. med_err _ret=-1;
  20. - int type_hdf;
  21. + long type_hdf;
  22.  
  23. switch(type)
  24. {
  25. diff -Nur src.orig/hdfi/_MEDattributeNumWrByName.c src/hdfi/_MEDattributeNumWrByName.c
  26. --- src.orig/hdfi/_MEDattributeNumWrByName.c 2015-09-07 18:55:17.000000000 +0200
  27. +++ src/hdfi/_MEDattributeNumWrByName.c 2016-05-24 02:15:27.443432111 +0200
  28. @@ -32,7 +32,7 @@
  29. {
  30. med_idt _attid=0,aid=0;
  31. med_err _ret=-1;
  32. - int type_hdf;
  33. + long type_hdf;
  34. med_access_mode MED_ACCESS_MODE;
  35. H5O_info_t _oinfo;
  36.  
  37. diff -Nur src.orig/hdfi/_MEDattributeNumWr.c src/hdfi/_MEDattributeNumWr.c
  38. --- src.orig/hdfi/_MEDattributeNumWr.c 2015-09-07 18:55:16.000000000 +0200
  39. +++ src/hdfi/_MEDattributeNumWr.c 2016-05-24 02:15:27.443432111 +0200
  40. @@ -32,7 +32,7 @@
  41. {
  42. med_idt _attid=0,aid=0;
  43. med_err _ret=-1;
  44. - int type_hdf;
  45. + long type_hdf;
  46. med_access_mode MED_ACCESS_MODE;
  47. H5O_info_t _oinfo;
  48.  
  49. diff -Nur src.orig/hdfi/_MEDattributeStringRdByName.c src/hdfi/_MEDattributeStringRdByName.c
  50. --- src.orig/hdfi/_MEDattributeStringRdByName.c 2015-09-07 18:55:15.000000000 +0200
  51. +++ src/hdfi/_MEDattributeStringRdByName.c 2016-05-24 02:15:27.443432111 +0200
  52. @@ -29,7 +29,7 @@
  53. {
  54. med_err _ret=-1;
  55. med_idt _attid=0;
  56. - int type_hdf=0;
  57. + long type_hdf=0;
  58.  
  59. if ( (type_hdf = H5Tcopy(H5T_C_S1)) < 0) {
  60. MED_ERR_(_ret,MED_ERR_CREATE,MED_ERR_HDFTYPE, MED_ERR_NAME_MSG );
  61. diff -Nur src.orig/hdfi/_MEDattributeStringWrByName.c src/hdfi/_MEDattributeStringWrByName.c
  62. --- src.orig/hdfi/_MEDattributeStringWrByName.c 2015-09-07 18:55:16.000000000 +0200
  63. +++ src/hdfi/_MEDattributeStringWrByName.c 2016-05-24 02:15:27.443432111 +0200
  64. @@ -31,7 +31,7 @@
  65. med_access_mode MED_ACCESS_MODE;
  66. med_idt _attid=0,aid=0;
  67. med_err _ret=-1;
  68. - int type_hdf=0;
  69. + long type_hdf=0;
  70. med_bool _attmustbecreated= MED_FALSE;
  71. hsize_t _attsize=0;
  72. med_size _valsize=0;
  73. diff -Nur src.orig/hdfi/_MEDattributeStringWr.c src/hdfi/_MEDattributeStringWr.c
  74. --- src.orig/hdfi/_MEDattributeStringWr.c 2015-09-07 18:55:17.000000000 +0200
  75. +++ src/hdfi/_MEDattributeStringWr.c 2016-05-24 02:15:27.443432111 +0200
  76. @@ -30,7 +30,7 @@
  77. med_access_mode MED_ACCESS_MODE;
  78. med_idt _attid=0,aid=0;
  79. med_err _ret=-1;
  80. - int type_hdf=0;
  81. + long type_hdf=0;
  82. med_bool _attmustbecreated= MED_FALSE;
  83. hsize_t _attsize=0;
  84. med_size _valsize=0;
  85. diff -Nur src.orig/hdfi/_MEDdatasetRd.c src/hdfi/_MEDdatasetRd.c
  86. --- src.orig/hdfi/_MEDdatasetRd.c 2015-09-07 18:55:15.000000000 +0200
  87. +++ src/hdfi/_MEDdatasetRd.c 2016-05-24 02:15:27.443432111 +0200
  88. @@ -32,7 +32,7 @@
  89. med_idt _dataset=0, _dataspace=0;
  90. med_size _datasetsize[1]={0};
  91. med_err _ret=-1;
  92. - int _hdftype=0;
  93. + long _hdftype=0;
  94. int _datasetsizeEqualTosizespace = 0;
  95. med_access_mode _MED_ACCESS_MODE;
  96. med_int _nvaluesperentity=0,_nconstituentpervalue=0;
  97. diff -Nur src.orig/hdfi/_MEDdatasetWr.c src/hdfi/_MEDdatasetWr.c
  98. --- src.orig/hdfi/_MEDdatasetWr.c 2015-09-07 18:55:15.000000000 +0200
  99. +++ src/hdfi/_MEDdatasetWr.c 2016-05-24 02:15:27.443432111 +0200
  100. @@ -30,7 +30,7 @@
  101. med_idt _dataset=0, _dataspace=0,_datadiskspace=0;
  102. med_size _datasetsize[1]={0};
  103. med_err _ret=-1;
  104. - int _hdftype=0;
  105. + long _hdftype=0;
  106. int _datasetsizeEqualTosizespace = 0;
  107. med_access_mode _MED_ACCESS_MODE;
  108. med_int _nvaluesperentity=0,_nconstituentpervalue=0;
RAW Paste Data