Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
c95e11db
Commit
c95e11db
authored
May 24, 2010
by
Nigel Tao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo in exp/draw/x11.
R=rsc CC=golang-dev
https://golang.org/cl/1282041
parent
934a520d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
conn.go
src/pkg/exp/draw/x11/conn.go
+1
-1
No files found.
src/pkg/exp/draw/x11/conn.go
View file @
c95e11db
...
@@ -319,7 +319,7 @@ func readU32LE(r io.Reader, b []byte) (uint32, os.Error) {
...
@@ -319,7 +319,7 @@ func readU32LE(r io.Reader, b []byte) (uint32, os.Error) {
return
uint32
(
b
[
0
])
|
uint32
(
b
[
1
])
<<
8
|
uint32
(
b
[
2
])
<<
16
|
uint32
(
b
[
3
])
<<
24
,
nil
return
uint32
(
b
[
0
])
|
uint32
(
b
[
1
])
<<
8
|
uint32
(
b
[
2
])
<<
16
|
uint32
(
b
[
3
])
<<
24
,
nil
}
}
// setU32LE sets b[0:4] to be the
big
-endian representation of u.
// setU32LE sets b[0:4] to be the
little
-endian representation of u.
func
setU32LE
(
b
[]
byte
,
u
uint32
)
{
func
setU32LE
(
b
[]
byte
,
u
uint32
)
{
b
[
0
]
=
byte
((
u
>>
0
)
&
0xff
)
b
[
0
]
=
byte
((
u
>>
0
)
&
0xff
)
b
[
1
]
=
byte
((
u
>>
8
)
&
0xff
)
b
[
1
]
=
byte
((
u
>>
8
)
&
0xff
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment