| Server IP : 82.208.35.60 / Your IP : 216.73.216.168 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/sysutils/scanmem/files/ |
Upload File : |
--- scanroutines.c.orig 2017-10-13 21:53:16 UTC
+++ scanroutines.c
@@ -369,7 +369,7 @@ extern inline unsigned int scan_routine_BYTEARRAY_EQUA
{
const uint8_t *bytes_array = user_value->bytearray_value;
const wildcard_t *wildcards_array = user_value->wildcard_value;
- uint length = user_value->flags;
+ unsigned int length = user_value->flags;
if (memlength < length ||
*((uint64_t*)bytes_array) != (memory_ptr->uint64_value & *((uint64_t*)wildcards_array)))
{
@@ -470,7 +470,7 @@ DEFINE_BYTEARRAY_SMALLOOP_EQUALTO_ROUTINE(56)
extern inline unsigned int scan_routine_STRING_EQUALTO SCAN_ROUTINE_ARGUMENTS
{
const char *scan_string = user_value->string_value;
- uint length = user_value->flags;
+ unsigned int length = user_value->flags;
if(memlength < length ||
memory_ptr->int64_value != *((int64_t*)scan_string))
{