Commit 1f33f14c5b601e0861a2fdca787499fb28a828e0
1 parent
65993c40
Exists in
master
and in
1 other branch
Updating windows sources.
Showing
2 changed files
with
5 additions
and
5 deletions
Show diff stats
src/dialogs/print/print.c
... | ... | @@ -322,11 +322,11 @@ V3270PrintOperation * v3270_print_operation_new(GtkWidget *widget, LIB3270_PRINT |
322 | 322 | { |
323 | 323 | if(lib3270_is_selected(operation->session,baddr++)) |
324 | 324 | { |
325 | - rect.x = MIN(rect.x,col); | |
326 | - rect.width = MAX(rect.width,col); | |
325 | + rect.x = MIN( ((unsigned int) rect.x),col); | |
326 | + rect.width = MAX( ((unsigned int) rect.width),col); | |
327 | 327 | |
328 | - rect.y = MIN(rect.y,row); | |
329 | - rect.height = MAX(rect.height,row); | |
328 | + rect.y = MIN( ((unsigned int) rect.y),row); | |
329 | + rect.height = MAX( ((unsigned int) rect.height),row); | |
330 | 330 | } |
331 | 331 | } |
332 | 332 | } | ... | ... |
src/terminal/windows/iosource.c