Skip to content

Commit

Permalink
spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
daanx committed Jan 7, 2025
1 parent 1fe22e2 commit a39737a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kklib/include/kklib.h
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@ static inline void kk_header_init(kk_header_t* h, kk_ssize_t scan_fsize, kk_cpat
#else
kk_header_t header = KK_HEADER((uint8_t)scan_fsize, (uint8_t)cpath, (uint16_t)tag);
#if __cplusplus
memcpy(h,&header,sizeof(kk_header_t)); // we cannot assing directly in C++ due to deleted copy constructor of the atomic refcount (on windows only?)
memcpy(h,&header,sizeof(kk_header_t)); // we cannot assign directly in C++ due to deleted copy constructor of the atomic refcount (on windows only?)
#else
*h = header;
*h = header;
#endif
#endif
}
Expand Down

0 comments on commit a39737a

Please sign in to comment.