mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 19:46:02 +01:00
Fix warning in kaitai spec
Warning:
```
[39/483] Generating src/kaitai-struct-checks/kaitai-generated-sources with a custom command
../src/kaitai-struct-checks/nar.ksy: /types/padded_str/seq/1/encoding:
warning: use canonical encoding name `ASCII` instead of `ascii` (see https://doc.kaitai.io/ksy_style_guide.html#encoding-name)
```
This commit is contained in:
parent
34ac1792f9
commit
c8e24491c0
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ types:
|
||||||
- id: body
|
- id: body
|
||||||
type: str
|
type: str
|
||||||
size: len_str
|
size: len_str
|
||||||
encoding: 'ascii'
|
encoding: 'ASCII'
|
||||||
- id: padding
|
- id: padding
|
||||||
size: (8 - (len_str % 8)) % 8
|
size: (8 - (len_str % 8)) % 8
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue