readthefuckingmanual.net

[SOLVED] 'max_join_size': unsigned value

Error added: 2008-10-14T19:19:22Z

0 people waiting for the answer...

1 answers found.

Answer 751 (0.0% helpful)

Is this from c/c++?
You are referred to variable as signed value, but it is declared as unsigned. For example, compiler should shoot such error/warning in this code:

unsigned int dummy;
dummy = 1 - 2;

solutions:

1. use signed declaration :
int dummy;
dummy = 1 - 2;

2. cast result, if really need it unsigned :
unsigned int dummy;
dummy = (unsigned int) 1 - 2; // note, dummy will become 0xFFFF
Permalink

Add an answer/solution

If you know the answer, please add your own solution below.
If you don't know, but find out later, please come back and share your answer - there will be other people struggling with this too.


Please enter 61948 here

If you want to be notified via email when this is solved, enter your email address here: