Loading libs/binder/TextOutput.cpp +2 −2 Original line number Original line Diff line number Diff line Loading @@ -116,8 +116,8 @@ TextOutput& operator<<(TextOutput& to, double val) TextOutput& operator<<(TextOutput& to, const void* val) TextOutput& operator<<(TextOutput& to, const void* val) { { char buf[16]; char buf[32]; sprintf(buf, "%p", val); snprintf(buf, sizeof(buf), "%p", val); to.print(buf, strlen(buf)); to.print(buf, strlen(buf)); return to; return to; } } Loading Loading
libs/binder/TextOutput.cpp +2 −2 Original line number Original line Diff line number Diff line Loading @@ -116,8 +116,8 @@ TextOutput& operator<<(TextOutput& to, double val) TextOutput& operator<<(TextOutput& to, const void* val) TextOutput& operator<<(TextOutput& to, const void* val) { { char buf[16]; char buf[32]; sprintf(buf, "%p", val); snprintf(buf, sizeof(buf), "%p", val); to.print(buf, strlen(buf)); to.print(buf, strlen(buf)); return to; return to; } } Loading