-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
decode/pppoe: pointer cast consistency
Ticket: 6787 To do pointer arithmetic, we need to use uint8_t* pointer : Pointer arithmetic in C is automatically scaled according to the size of the data type. Also simplifies the loop condition
- Loading branch information
1 parent
44388f1
commit d2db8bf
Showing
1 changed file
with
6 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters