Skip to content

Commit

Permalink
-> uint64
Browse files Browse the repository at this point in the history
  • Loading branch information
paulcacheux committed Jan 2, 2025
1 parent 26f47a2 commit 44d6e8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion constant_editor.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type ConstantEditor struct {
// Value - Value to write in the eBPF bytecode. When using the asm load method, the Value has to be a `uint64`.
Value interface{}

ValueCallback func(prog *ebpf.ProgramSpec) interface{}
ValueCallback func(prog *ebpf.ProgramSpec) uint64

// FailOnMissing - If FailOMissing is set to true, the constant edition process will return an error if the constant
// was missing in at least one program
Expand Down

0 comments on commit 44d6e8e

Please sign in to comment.