Bugzilla – Bug 630
Wimax doesn't compile with gcc-3.4.x
Last modified: 2009-08-07 03:30:38 UTC
The error looks like this: ../src/devices/wimax/wimax-net-device.cc:49: warning: converting of negative value `-0x00000000000000001' to `uint8_t' This is due to assigning a value -1 to an unsigned int.
Replaced the initial value of uint8_t = -1 by the negation of 0 which means initialvalue = ~0 (binary negation of 0) instead of initialvalue = -1 which shouldn't exist as it is an unsigned integer.
Created attachment 520 [details] Remove the negative one values and replaced by ~0 Amine please take a look at the patch and push it if it is ok. Then after I will close the bug.