1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/devel/gcvs/files/patch-common_Persistent.h
Martin Wilke a28acc2928 - Fix build with gcc 4.2/AMD64
PR:		118027
Submitted by:	Pietro Cerutti <gahr@gahr.ch>
Approved by:	portmgr (pav,linimon)
2007-11-22 22:27:29 +00:00

16 lines
607 B
C

--- common/Persistent.h.orig 2007-11-13 22:33:34.000000000 +0100
+++ common/Persistent.h 2007-11-13 22:33:49.000000000 +0100
@@ -47,9 +47,9 @@
CPersistent(const char *uniqueName, kClassPersistent pclass);
virtual ~CPersistent();
- virtual unsigned int SizeOf(void) const = 0L;
- virtual const void *GetData(void) const = 0L;
- virtual void SetData(const void *ptr, unsigned int size) = 0L;
+ virtual unsigned int SizeOf(void) const = 0;
+ virtual const void *GetData(void) const = 0;
+ virtual void SetData(const void *ptr, unsigned int size) = 0;
// virtual access
static void SaveAll(void);