summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Hindenburg <[email protected]>2017-07-01 21:31:30 -0400
committerKurt Hindenburg <[email protected]>2017-07-01 21:31:30 -0400
commitee61cc5eceadef13c9f5e60d61c3c74ce7f4c19f (patch)
treec583fcf03f6dacf1073da9dd9cbe2daeee6a0f89
parent21175006708ba2e44502acb57f48694e71b542a3 (diff)
modernize use nullptr
-rw-r--r--tools/fontembedder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/fontembedder.cpp b/tools/fontembedder.cpp
index 6af5419..e19b7e2 100644
--- a/tools/fontembedder.cpp
+++ b/tools/fontembedder.cpp
@@ -93,7 +93,7 @@ int main(int argc, char **argv)
continue; //Skip comments
//Must be a glyph ID.
- int glyph = line.toInt(0, 16);
+ int glyph = line.toInt(nullptr, 16);
if ((glyph < 0x2500) || (glyph > 0x257f)) {
qWarning("Invalid glyph number: %d aborting...", glyph);
exit(1);