Reviewed-by: Jaben Carsey
> -Original Message-
> From: Wu, Hao A
> Sent: Friday, February 24, 2017 8:05 PM
> To: edk2-devel@lists.01.org
> Cc: Wu, Hao A ; Carsey, Jaben
> ; Ni, Ruiyu
> Subject:
Reviewed-by: Ruiyu Ni
Thanks/Ray
> -Original Message-
> From: Wu, Hao A
> Sent: Saturday, February 25, 2017 12:05 PM
> To: edk2-devel@lists.01.org
> Cc: Wu, Hao A ; Carsey, Jaben
> ; Ni, Ruiyu
>
Thanks/Ray
> -Original Message-
> From: Wu, Hao A
> Sent: Monday, February 27, 2017 1:59 PM
> To: Ni, Ruiyu ; edk2-devel@lists.01.org
> Cc: Carsey, Jaben
> Subject: RE: [PATCH v3 6/6] ShellPkg: Refine type cast for pointer subtraction
>
> >
> -Original Message-
> From: Ni, Ruiyu
> Sent: Monday, February 27, 2017 1:10 PM
> To: Wu, Hao A; edk2-devel@lists.01.org
> Cc: Carsey, Jaben
> Subject: RE: [PATCH v3 6/6] ShellPkg: Refine type cast for pointer subtraction
>
>
>
> Thanks/Ray
>
> > -Original Message-
> > From:
Thanks/Ray
> -Original Message-
> From: Wu, Hao A
> Sent: Saturday, February 25, 2017 12:05 PM
> To: edk2-devel@lists.01.org
> Cc: Wu, Hao A ; Carsey, Jaben
> ; Ni, Ruiyu
> Subject: [PATCH v3 6/6] ShellPkg: Refine type
For pointer subtraction, the result is of type "ptrdiff_t". According to
the C11 standard (Committee Draft - April 12, 2011):
"When two pointers are subtracted, both shall point to elements of the
same array object, or one past the last element of the array object; the
result is the difference of
6 matches
Mail list logo