diff --git a/services/param/linux/param_osadp.c b/services/param/linux/param_osadp.c index 7a12a682163ce02ae2117daf9c5d41841799f93f..38ee7f6ab63d7c7d2b672a270a90d0b190a1ac18 100644 --- a/services/param/linux/param_osadp.c +++ b/services/param/linux/param_osadp.c @@ -55,7 +55,7 @@ int ParamRWMutexUnlock(ParamRWMutex *lock) int ParamRWMutexDelete(ParamRWMutex *lock) { PARAM_CHECK(lock != NULL, return -1, "Invalid lock"); - uint32_t ret = pthread_rwlock_destroy(&lock->rwlock); + int ret = pthread_rwlock_destroy(&lock->rwlock); PARAM_CHECK(ret == 0, return -1, "Failed to mutex lock ret %d", ret); return 0; }