Missing const in PixelGraph
Bug #1981984 reported by
PBS
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libdepixelize |
New
|
Undecided
|
Unassigned |
Bug Description
There is a clear violation of const-correctness in pixelgraph.h:
inline PixelGraph:
// ...
guint8 *pixels = pixbuf-
Since the pixbuf is const, the last line above should be
guint8 const *pixels = pixbuf-
This issue breaks building libdepixelize with GTK4.
description: | updated |
description: | updated |
To post a comment you must log in.