lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #49827] wrong cast to size_t on 16-bit x86 architectur


From: Alexander
Subject: [lwip-devel] [bug #49827] wrong cast to size_t on 16-bit x86 architecture
Date: Mon, 12 Dec 2016 12:50:39 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36

Follow-up Comment #5, bug #49827 (project lwip):

I've tested fixes.

now I can override LWIP_CONST_CAST macro to my needs.

but default value:
#define LWIP_CONST_CAST(target_type, val) ((target_type)((ptrdiff_t)val))
results wrong pointer in real mode Application with Large memory model.

It must be remembered when porting.







    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?49827>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]