Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 136319 | Differences between
and this patch

Collapse All | Expand All

(-)mbtPdfAsm-1.0.26/pdfFile.hpp.orig (-1 / +1 lines)
Lines 158-164 Link Here
158
158
159
      //int findInheritRes(C_pdfFile *org, char *fBuf, int lg, char **pcRes);
159
      //int findInheritRes(C_pdfFile *org, char *fBuf, int lg, char **pcRes);
160
      int makeRes(C_pdfFile *org, char *fBuf, int lg, char **pcRes);
160
      int makeRes(C_pdfFile *org, char *fBuf, int lg, char **pcRes);
161
      int makeAttrib(C_pdfFile *org, char *fBuf, int lgOrgBuf, char **pcRes, char *add, int lgAdd);
161
      int makeAttrib(C_pdfFile *org, char *fBuf, int lgOrgBuf, char **pcRes, int add, int lgAdd);
162
162
163
      bool fast; // version rapide, on ne gère pas les options
163
      bool fast; // version rapide, on ne gère pas les options
164
      bool closed; //protection plus rien n'est possible aprés l'appel à la fonction close
164
      bool closed; //protection plus rien n'est possible aprés l'appel à la fonction close
(-)mbtPdfAsm-1.0.26/pdfFile.cpp.orig (-4 / +4 lines)
Lines 906-912 Link Here
906
/* ********************************************** */
906
/* ********************************************** */
907
#pragma warning(disable : 4100)
907
#pragma warning(disable : 4100)
908
908
909
int C_pdfFile::makeAttrib(C_pdfFile *org, char *buf, int lgOrgBuf, char **pcRes, char *add, int lgAdd) {
909
int C_pdfFile::makeAttrib(C_pdfFile *org, char *buf, int lgOrgBuf, char **pcRes, int add, int lgAdd) {
910
char *pc;
910
char *pc;
911
int lgRes, lgBuf, j, nObj, r;
911
int lgRes, lgBuf, j, nObj, r;
912
912
Lines 945-956 Link Here
945
   }
945
   }
946
946
947
   if ( (lgAdd != 0) && (add != 0) ) {
947
   if ( (lgAdd != 0) && (add != 0) ) {
948
      switch ( (int)add ) {
948
      switch ( add ) {
949
      case _Resources:
949
      case _Resources:
950
950
951
         break;
951
         break;
952
      default:
952
      default:
953
         memcpy(pc + lgRes, add + sizeof(int), lgAdd);
953
         memcpy(pc + lgRes, (char *)add + sizeof(int), lgAdd);
954
         lgRes += lgAdd;
954
         lgRes += lgAdd;
955
      }
955
      }
956
   }
956
   }
Lines 2663-2666 Link Here
2663
            delete p;
2663
            delete p;
2664
2664
2665
    return destBuf;
2665
    return destBuf;
2666
}
2666
}

Return to bug 136319