sdm: Fix Wconversion errors
Change-Id: Ica8ecd83e44126d7ef5d8595dcaf52f88aea6e70 CRs-fixed: 974030
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014 - 2015, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2014 - 2016, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are
|
||||
@@ -52,11 +52,11 @@ int Debug::GetHDMIResolution() {
|
||||
return value;
|
||||
}
|
||||
|
||||
int Debug::GetIdleTimeoutMs() {
|
||||
uint32_t Debug::GetIdleTimeoutMs() {
|
||||
int value = IDLE_TIMEOUT_DEFAULT_MS;
|
||||
debug_.debug_handler_->GetProperty("sdm.idle_time", &value);
|
||||
|
||||
return value;
|
||||
return UINT32(value);
|
||||
}
|
||||
|
||||
int Debug::GetBootAnimLayerCount() {
|
||||
|
||||
Reference in New Issue
Block a user