Loading src/gpo.cpp +2 −2 Changes for src/gpo.cpp: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -86,9 +86,9 @@ void authdb::GpoData::getAlowed(Allow &allowed){ std::copy(_Allowed->data,_Allowed->data+sizeof(size_t),&allowed.count); allowed.uid=new uuid_t[allowed.count]; const char *start = _Allowed->data+sizeof(size_t); uuid_t *start = reinterpret_cast<uuid_t*>(_Allowed->data+sizeof(size_t)); for(size_t i =0; i<allowed.count; ++i){ std::copy(start+(sizeof(uuid_t)*i),start+(sizeof(uuid_t)*i)+sizeof(uuid_t), reinterpret_cast<char*>(&allowed.uid[i])); uuid_copy(allowed.uid[i],*(start+(sizeof(uuid_t)*i))); } } Loading src/session.h +2 −2 File changed.Contains only whitespace changes. Show changes Loading
src/gpo.cpp +2 −2 Changes for src/gpo.cpp: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -86,9 +86,9 @@ void authdb::GpoData::getAlowed(Allow &allowed){ std::copy(_Allowed->data,_Allowed->data+sizeof(size_t),&allowed.count); allowed.uid=new uuid_t[allowed.count]; const char *start = _Allowed->data+sizeof(size_t); uuid_t *start = reinterpret_cast<uuid_t*>(_Allowed->data+sizeof(size_t)); for(size_t i =0; i<allowed.count; ++i){ std::copy(start+(sizeof(uuid_t)*i),start+(sizeof(uuid_t)*i)+sizeof(uuid_t), reinterpret_cast<char*>(&allowed.uid[i])); uuid_copy(allowed.uid[i],*(start+(sizeof(uuid_t)*i))); } } Loading