# Re: \[PATCH V2\] debugfs: don't assume sizeof(bool) to be 4 bytes

- From: Mark Brown \<hidden\>
- Date: 2015-09-14 17:12:55 
- List: netdev
- Page: https://ratatoskr.run/netdev/2015/09/6478705
- Thread: https://ratatoskr.run/alsa-devel/2015/09/6478688/t.md

```text
On Mon, Sep 14, 2015 at 09:21:54AM +0530, Viresh Kumar wrote:
> Long back 'bool' type used to be a typecast to 'int', but that changed
> in v2.6.19. And that is a typecast to _Bool now, which (mostly) takes
> just a byte. Anyway, the bool type is implementation defined, and better
> we don't assume its size to be 4 bytes or 1.

Acked-by: Mark Brown <redacted>
```
