Re: [PATCH] Add a birdview-on-the-source-code section to the user manual

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Tue, 8 May 2007, Karl Hasselström wrote:

> On 2007-05-08 17:10:47 +0200, Johannes Schindelin wrote:
> 
> > +  char *`, but is actually expected to be a pointer to `unsigned
> > +  char[20]`.  This variable will contain the big endian version of the
> > +  40-character hex string representation of the SHA-1.
> 
> Either it should be "unsigned char[40]" (or possibly 41 with a
> terminating \0), or else you shouldn't be talking about hexadecimal
> since it's just a 20-byte big-endian unsigned integer. (A third
> possibility is that I'm totally confused.)

It is 40 hex-character, but 20 _byte_. If you have any ideas how to 
formulate that better than I did...

Ciao,
Dscho

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux