[cfe-commits] r66732 - /cfe/trunk/lib/AST/Stmt.cpp
Sebastian Redl
sebastian.redl at getdesigned.at
Wed Mar 11 15:59:06 PDT 2009
Chris Lattner wrote:
> Author: lattner
> Date: Wed Mar 11 17:52:17 2009
> New Revision: 66732
>
> URL: http://llvm.org/viewvc/llvm-project?rev=66732&view=rev
> Log:
> don't use strtoul on a non-null-terminated string.
>
> + while (CurPtr != StrEnd && isdigit(*CurPtr))
> + N = N*10+((*CurPtr++)-'0');
>
>
How about some spaces?
Sebastian
More information about the cfe-commits
mailing list