소스 검색

clang: format_token string format correction

Azaezel 9 년 전
부모
커밋
ae5f61e60d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Engine/source/core/util/uuid.cpp

+ 1 - 1
Engine/source/core/util/uuid.cpp

@@ -167,7 +167,7 @@ static void create_uuid_state(uuid_state *st)
  */
 static void format_token(char *target, const xuuid_t *u)
 {
-  sprintf(target, "%08lx-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x",
+  sprintf(target, "%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x",
 	  u->time_low, u->time_mid, u->time_hi_and_version,
 	  u->clock_seq_hi_and_reserved, u->clock_seq_low,
 	  u->node[0], u->node[1], u->node[2],