Commit 1f33f14c5b601e0861a2fdca787499fb28a828e0

Authored by Perry Werneck
1 parent 65993c40
Exists in master and in 1 other branch develop

Updating windows sources.

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
... ... @@ -28,7 +28,7 @@
28 28 */
29 29  
30 30 #include <config.h>
31   - #include "../private.h"
  31 + #include <terminal.h>
32 32  
33 33 /*---[ Structs ]-------------------------------------------------------------------------------------------*/
34 34  
... ...