Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 078794ed authored by Michael Lentine's avatar Michael Lentine Committed by Android Git Automerger
Browse files

am 98536859: Merge "Fix output of pointers for 64bit devices." into lmp-mr1-dev

* commit '98536859':
  Fix output of pointers for 64bit devices.
parents b43a1c9b 98536859
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -116,8 +116,8 @@ TextOutput& operator<<(TextOutput& to, double val)

TextOutput& operator<<(TextOutput& to, const void* val)
{
    char buf[16];
    sprintf(buf, "%p", val);
    char buf[32];
    snprintf(buf, sizeof(buf), "%p", val);
    to.print(buf, strlen(buf));
    return to;
}