瀏覽代碼

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
  * };
  *