diff options
Diffstat (limited to 'src/flashlight.c')
-rw-r--r-- | src/flashlight.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flashlight.c b/src/flashlight.c index 63553e5..08ad884 100644 --- a/src/flashlight.c +++ b/src/flashlight.c @@ -38,7 +38,7 @@ set_sysfs_path() { for (size_t i = 0; i < qcom_sysfs_size; i++) { if (access(qcom_sysfs[i], F_OK ) != -1){ - flash_sysfs_path = qcom_sysfs[i]; + flash_sysfs_path = (char*)qcom_sysfs[i]; return 1; } } |