lm1100-1.0.2a-fix-compile-gcc-3.4.patch 866 B

1234567891011121314151617181920212223
  1. --- LexmarkProtocol300c.cc.orig 2000-11-21 09:06:22.000000000 +0100
  2. +++ LexmarkProtocol300c.cc 2004-06-16 13:28:04.397060286 +0200
  3. @@ -69,7 +69,7 @@
  4. Jet **LexmarkProtocol300c::createJets(int *numJets, Map *imageMap)
  5. {
  6. *numJets = 6;
  7. - class Jet **jets = new (Jet *)[6];
  8. + class Jet **jets = new Jet*[6];
  9. jets[0] = new Jet(0,9,0,imageMap,LEFT_JET,0,8);
  10. jets[1] = new Jet(1,0,0,imageMap,RIGHT_JET,0,8);
  11. jets[2] = new Jet(2,-9,20,imageMap,LEFT_JET,1,8);
  12. --- LexmarkProtocolBW.cc.orig 2000-11-21 09:06:22.000000000 +0100
  13. +++ LexmarkProtocolBW.cc 2004-06-16 13:32:51.291509280 +0200
  14. @@ -68,7 +68,7 @@
  15. Jet **LexmarkProtocolBW::createJets(int *numJets, Map *imageMap)
  16. {
  17. *numJets = 2;
  18. - class Jet **jets = new (Jet *)[2];
  19. + class Jet **jets = new Jet*[2];
  20. jets[0] = new Jet(0,9,0,imageMap,LEFT_JET,0,28);
  21. jets[1] = new Jet(0,0,0,imageMap,RIGHT_JET,0,28);