소스 검색

bit_field: Fix a typo in the sample usage.

Lioncash 11 년 전
부모
커밋
2dce9b2ead
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/common/bit_field.h

+ 1 - 1
src/common/bit_field.h

@@ -68,7 +68,7 @@
  *     u32 hex;
  *
  *     BitField<0,7,u32> first_seven_bits;     // unsigned
- *     BitField<7,8,32> next_eight_bits;       // unsigned
+ *     BitField<7,8,u32> next_eight_bits;      // unsigned
  *     BitField<3,15,s32> some_signed_fields;  // signed
  * };
  *