-rw-r--r-- | hwc2/common/base/HwcLayer.cpp | 2 | ||||
-rw-r--r-- | hwc2/common/base/HwcModule.cpp | 2 | ||||
-rw-r--r-- | hwc2/common/composers/GE2DComposer.cpp | 1 | ||||
-rw-r--r-- | hwc2/common/composers/GE2DComposer.h | 2 | ||||
-rw-r--r-- | hwc2/common/devices/PhysicalDevice.cpp | 2 |
5 files changed, 6 insertions, 3 deletions
diff --git a/hwc2/common/devices/PhysicalDevice.cpp b/hwc2/common/devices/PhysicalDevice.cpp index 5b1ccc8..c1563e4 100644 --- a/hwc2/common/devices/PhysicalDevice.cpp +++ b/hwc2/common/devices/PhysicalDevice.cpp @@ -1458,7 +1458,7 @@ int32_t PhysicalDevice::getLineValue(const char *lineStr, const char *magicStr) return 0; } - if (NULL != (pos = strstr(lineStr, magicStr))) { + if (NULL != (pos = strstr((char *)lineStr, magicStr))) { pos = pos + strlen(magicStr); char* start = pos; while (*start != '\n' && (strlen(start) > 0)) |