Share

Port Forwarding Daemon

Tracker: Patches

5 Fix compilation on 64-bit linux - ID: 1722252
Last Update: Comment added ( evertonm )

Pointers are not ints on 64-bit platforms:

proto_map.cc: In constructor 'proto_map::proto_map(vector<int>*,
vector<host_map*>*, ip_addr*, ip_addr*, int, int, ip_addr, ip_addr*)':
proto_map.cc:19: error: cast from 'ip_addr*' to 'int' loses precision
proto_map.cc:23: error: cast from 'ip_addr*' to 'int' loses precision
make[2]: *** [proto_map.o] Error 1

This patch was accepted by Gentoo:
https://bugs.gentoo.org/show_bug.cgi?id=164782


Jose ( agatocles ) - 2007-05-20 18:32

5

Closed

None

Everton da Silva Marques

None

None

Public


Comment ( 1 )




Date: 2007-05-21 18:04
Sender: evertonmProject Admin


Patch applied to CVS, thanks!



Log in to comment.

Attached File ( 1 )

Filename Description Download
64bit.patch Download

Changes ( 4 )

Field Old Value Date By
status_id Open 2007-05-21 18:04 evertonm
close_date - 2007-05-21 18:04 evertonm
assigned_to nobody 2007-05-20 18:37 agatocles
File Added 229920: 64bit.patch 2007-05-20 18:32 agatocles