From ee2ed52584564a6acec25b8d9dff4653c3e55330 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Mon, 9 Mar 2015 19:45:23 +0000 Subject: Fix debugserver warnings on MacOSX. llvm-svn: 231692 --- lldb/tools/debugserver/source/MacOSX/MachProcess.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lldb/tools/debugserver/source/MacOSX/MachProcess.h') diff --git a/lldb/tools/debugserver/source/MacOSX/MachProcess.h b/lldb/tools/debugserver/source/MacOSX/MachProcess.h index 3cd60917f15..3d007a36e31 100644 --- a/lldb/tools/debugserver/source/MacOSX/MachProcess.h +++ b/lldb/tools/debugserver/source/MacOSX/MachProcess.h @@ -158,7 +158,7 @@ public: //---------------------------------------------------------------------- void SetEnableAsyncProfiling (bool enable, uint64_t internal_usec, DNBProfileDataScanType scan_type); bool IsProfilingEnabled () { return m_profile_enabled; } - uint64_t ProfileInterval () { return m_profile_interval_usec; } + useconds_t ProfileInterval () { return m_profile_interval_usec; } bool StartProfileThread (); static void * ProfileThread (void *arg); void SignalAsyncProfileData (const char *info); @@ -310,7 +310,7 @@ private: std::string m_stdout_data; bool m_profile_enabled; // A flag to indicate if profiling is enabled - uint64_t m_profile_interval_usec; // If enable, the profiling interval in microseconds + useconds_t m_profile_interval_usec; // If enable, the profiling interval in microseconds DNBProfileDataScanType m_profile_scan_type; // Indicates what needs to be profiled pthread_t m_profile_thread; // Thread ID for the thread that profiles the inferior PThreadMutex m_profile_data_mutex; // Multithreaded protection for profile info data -- cgit v1.2.3