diff --git a/vanity.hpp b/vanity.hpp index a5cedda..525e325 100644 --- a/vanity.hpp +++ b/vanity.hpp @@ -10,6 +10,7 @@ #include #include #include +typedef unsigned int __attribute__((__mode__(SI))) ui4b_t; //32 / 8 = 4 byte static std::mutex thread_mutex; static i2p::data::SigningKeyType type; diff --git a/vanitygen.cpp b/vanitygen.cpp index adb61e4..5993221 100644 --- a/vanitygen.cpp +++ b/vanitygen.cpp @@ -68,7 +68,7 @@ Orignal is sensei of crypto ;) */ std::cout << "Thread " << id_thread << " binded" << std::endl; - uint8_t b[391]; + ui4b_t b[391]; memcpy (b, buf, 391); int len = strlen (prefix);