Descriptionsort: fix computation of maxDepth to avoid infinite loop
The current computation loops indefinitely if n > 1<<30 (for 32-bit ints).
Patch Set 1 #Patch Set 2 : diff -r fbc982f5aff1 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r fbc982f5aff1 https://go.googlecode.com/hg/ #MessagesTotal messages: 3
|