diff options
Diffstat (limited to 'runtimes/pure_arm_compute/src/logging.h')
-rw-r--r-- | runtimes/pure_arm_compute/src/logging.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtimes/pure_arm_compute/src/logging.h b/runtimes/pure_arm_compute/src/logging.h index 914b63057..447da03e2 100644 --- a/runtimes/pure_arm_compute/src/logging.h +++ b/runtimes/pure_arm_compute/src/logging.h @@ -41,7 +41,7 @@ public: { auto env = std::getenv("PURE_ARM_COMPUTE_LOG_ENABLE"); - if (env && std::atoi(env) > 0) + if (env && std::strtol(env, NULL, 0) > 0) { _enabled = true; } |