Commit 563d35ba authored by jan.koester's avatar jan.koester
Browse files

corrected return value

parent 671b4ca8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -229,7 +229,7 @@ void setRid(struct SID* sid, uint32_t rid){
    sid->SubAuthority[sid->SubAuthorityCount-1]=rid;
}

int getRid(struct SID* sid){
uint32_t getRid(struct SID* sid){
    return sid->SubAuthority[sid->SubAuthorityCount-1];
}
+1 −1
Original line number Diff line number Diff line
@@ -159,7 +159,7 @@ extern "C" {
      \brief This function will get the real id of a user without domain indentfier
      \param sid SID struct set will be set the real id
    */
    int  getRid(struct SID *sid);
    uint32_t getRid(struct SID *sid);


#ifdef __cplusplus