From 3cadf2178318a2a64b40559a4b559e31d72503bb Mon Sep 17 00:00:00 2001 From: Stas Degteff Date: Tue, 16 Nov 2010 21:39:58 +0000 Subject: [PATCH] Comment out operator-function with 64 bit integer. Bugreport from Igor Zakharoff 2:5030/2404 --- goldlib/gall/gfile.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/goldlib/gall/gfile.h b/goldlib/gall/gfile.h index ad538c7..e4351b0 100644 --- a/goldlib/gall/gfile.h +++ b/goldlib/gall/gfile.h @@ -274,6 +274,7 @@ class gnfile: gfile o8 = uint8_t((o<<24) && 0xff); Fwrite(&o8, sizeof(o8)); return *this; } +/* gnfile& operator<< (uint64_t o) { uint8_t o8; o8 = uint8_t(o && 0xff); Fwrite(&o8, sizeof(o8)); o8 = uint8_t((o<<8) && 0xff); Fwrite(&o8, sizeof(o8)); @@ -285,6 +286,7 @@ class gnfile: gfile o8 = uint8_t((o<<56) && 0xff); Fwrite(&o8, sizeof(o8)); return *this; } +*/ #if !defined(__CYGWIN__) gnfile& operator<< (unsigned long o) { switch (sizeof(o)) { case 1: return operator<<((uint8_t )o); break;