Ticket #125: eresi_vectos_amd64.patch
| File eresi_vectos_amd64.patch, 1.5 kB (added by Trundle, 14 months ago) |
|---|
-
libelfsh/vectors_register.c
27 27 dim = alloca(sizeof(u_int) * 4); 28 28 dim[0] = hostype; 29 29 dim[1] = exectype; 30 aspect_vectors_insert(mem, dim, ( int) fct);30 aspect_vectors_insert(mem, dim, (unsigned long) fct); 31 31 PROFILER_ROUT(__FILE__, __FUNCTION__, __LINE__, 0); 32 32 } 33 33 … … 48 48 dim = alloca(sizeof(u_int) * 4); 49 49 dim[0] = hostype; 50 50 dim[1] = exectype; 51 aspect_vectors_insert(mem, dim, ( int) fct);51 aspect_vectors_insert(mem, dim, (unsigned long) fct); 52 52 PROFILER_ROUT(__FILE__, __FUNCTION__, __LINE__, 0); 53 53 } 54 54 … … 69 69 dim = alloca(sizeof(u_int) * 3); 70 70 dim[0] = ostype; 71 71 dim[1] = devicetype; 72 aspect_vectors_insert(mem, dim, ( int) fct);72 aspect_vectors_insert(mem, dim, (unsigned long) fct); 73 73 PROFILER_ROUT(__FILE__, __FUNCTION__, __LINE__, 0); 74 74 } 75 75 … … 90 90 dim = alloca(sizeof(u_int) * 3); 91 91 dim[0] = ostype; 92 92 dim[1] = devicetype; 93 aspect_vectors_insert(mem, dim, ( int) fct);93 aspect_vectors_insert(mem, dim, (unsigned long) fct); 94 94 PROFILER_ROUT(__FILE__, __FUNCTION__, __LINE__, 0); 95 95 } 96 96 … … 112 112 dim = alloca(sizeof(u_int) * 3); 113 113 dim[0] = ostype; 114 114 dim[1] = devicetype; 115 aspect_vectors_insert(mem, dim, ( int) fct);115 aspect_vectors_insert(mem, dim, (unsigned long) fct); 116 116 PROFILER_ROUT(__FILE__, __FUNCTION__, __LINE__, 0); 117 117 } 118 118
