sdm: Changes to support clang compatibility
Change-Id: I27a2e9eb606b7c1e21c97e21de084d67ad346f2a
diff --git a/sdm/libs/core/fb/hw_info.cpp b/sdm/libs/core/fb/hw_info.cpp
index b076aad..fef95fd 100644
--- a/sdm/libs/core/fb/hw_info.cpp
+++ b/sdm/libs/core/fb/hw_info.cpp
@@ -126,7 +126,7 @@
if (!strncmp(tokens[j], "fmts_supported", strlen("fmts_supported"))) {
char *tokens_fmt[max_count] = { NULL };
// uint32_t token_fmt_count = 0;
- if (tokens_fmt == NULL) {}
+ if (&tokens_fmt[0] == NULL) {}
}
}
hw_resource_->hw_pipes.push_back(pipe_caps);